Part Number Hot Search : 
3PB3580 SI4896 STK350 17101 NTE56031 C8051 STE36N50 CL0805
Product Description
Full Text Search
 

To Download EVAL-ADAU1701MINIZ Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  sigmadsp 28 - /56 - bit audio processor with two adcs and four dacs data sheet adau1702 rev. d document feedback information furnished by analog devices is believed to be accurate and reliable. however, no responsibili ty is assumed by analog devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. specifications subject to change without notice. no license is granted by implication or otherwise under any pa tent or patent rights of analog devices. trademarks and registered trademarks are the property of their respective owners. one technology way, p.o. box 9106, norwood, ma 02062 - 9106, u.s.a. tel: 781.329.4700 ? 2007 C 2016 ana log devices, inc. all rights reserved. technical support www.analog.com features 28- /56 - bit , 25 mips digital audio processor 2 adcs: snr of 100 db , thd + n of ?83 db 4 dacs : snr of 104 db , thd + n of ?90 db complete standalone operation self - boot from serial eeprom auxiliary adc with 4 - input mux for analog control gpios for di gital controls and outputs full y programmable with sigmastudio graphical tool 28- bit 28 - bit multiplier with 56 - bit accumulator for full double precision processing clock oscillator for generating master clock from crystal pll for generating a master clo ck from 64 f s , 256 f s , 384 f s , or 512 f s clocks flexible serial data input/output ports with i 2 s - compatible, left - justified, right - justified, and tdm modes sampling rates of up to 192 khz are supported on - chip voltage regulator for compatibility wi th 3.3 v systems 48- lead, plastic lqfp applications multimedia speaker systems mp3 player speaker docks automotive head units minicomponent stereos digital televisions studio monitors speaker crossovers musical instrument effects processors in - seat soun d systems (aircraft/motor coaches) general description the adau1702 is a complete single - chip audio system with a 28- /56 - bit a udio dsp, adcs, dacs, and micro controller - like control interfaces. signal processing includes equalization, cross - over, bass enhancement, multiband dynamics processing, delay compensation, speaker compensation, and stereo image widening . this processing c an be used to com pensate for real - world limitations of speakers, amplifiers, and listening environments, providing dramatic improve ment s in perceived audio quality. its signal processing is comparable to that found in high end studio equipment. most proce ssing is done in full 56 - bit, double precision mode, resulting in very good low level signal perfor - mance. the adau1702 is a fully programmable dsp. the easy to use sigmastudio ? s oftware allo ws the user to graphically configure a custo m signal processing flow using blocks such as biquad filters, dynam ics processors, level controls, and gpio interface controls. adau1702 programs can be loaded on power - up either from a serial eeprom th r ough its own self - boot mechanism or from an external microcontroller. on power - down, the current state of the parameters can be written back to the eeprom from the adau1702 to be recalled the next time the program is run. two - adcs and four - dacs provide a 98.5 db analog input to analog output dynamic . each adc has a thd + n of ?83 db , and each dac has a thd + n of ?90 db. digital input and output ports allow a glueless connection to additional adcs and dacs. the adau1702 communicates through an i 2 c bus or a 4 - wire spi port.
adau1702* product page quick links last content update: 02/23/2017 comparable parts view a parametric search of comparable parts. evaluation kits ? adau1701 evaluation board documentation application notes ? an-1006: using the eval-adusb2ebz ? an-923: designing a system using the adau1701/ adau1702 in self-boot mode ? an-951: using hardware controls with sigmadsp gpio pins data sheet ? adau1702: sigmadsp 28-/56-bit audio processor with two adcs and four dacs data sheet user guides ? ug-072: evaluation board user guide for adau1401 software and systems requirements ? adau1701 sound audio system linux driver ? firmware loader for sigmadsps tools and simulations ? sigmadsp processors: software and tools design resources ? adau1702 material declaration ? pcn-pdn information ? quality and reliability ? symbols and footprints discussions view all adau1702 engineerzone discussions. sample and buy visit the product page to see pricing options. technical support submit a technical question or find your regional support number. document feedback submit feedback for this data sheet. this page is dynamically generated by analog devices, inc., and inserted into this data sheet. a dynamic change to the content on this page will not trigger a change to either the revision number or the content of the product data sheet. this dynamic page may be frequently modified.
adau1702 data sheet rev. d | page 2 of 52 table of contents features .............................................................................................. 1 applications ....................................................................................... 1 general description ......................................................................... 1 revision history ............................................................................... 3 functional block diagram .............................................................. 4 specifications ..................................................................................... 5 analog performance .................................................................... 5 digital input/output .................................................................... 6 power .............................................................................................. 6 pll and oscillator ........................................................................ 6 regulator ........................................................................................ 6 digital timing specifications ..................................................... 7 absolute maximum ratings .......................................................... 10 thermal resistance .................................................................... 10 esd caution ................................................................................ 10 pin configuration and function descriptions ........................... 11 typical performance characteristics ........................................... 14 system block diagram ................................................................... 15 theory of operation ...................................................................... 16 initialization .................................................................................... 17 power - up sequence ................................................................... 17 control registers setup ............................................................. 17 recommended program/parameter loading procedure ..... 17 power reduction modes ............................................................ 18 using the oscillator .................................................................... 18 setting master clock/pll mode .............................................. 18 voltage regulator ....................................................................... 19 audio adcs .................................................................................... 20 audio dacs .................................................................................... 21 control ports ................................................................................... 22 i 2 c port ......................................................................................... 23 spi port ........................................................................................ 26 self - boot ...................................................................................... 27 signal processing ............................................................................ 29 numeric formats ........................................................................ 29 programming .............................................................................. 29 rams and registers ....................................................................... 30 address maps .............................................................................. 30 parameter ram .......................................................................... 30 data ram ................................................................................... 30 read/write data formats ......................................................... 30 control register map ..................................................................... 32 control register details ................................................................ 34 address 2048 to address 2055 (0x0800 to 0x0807) interface registers ....................................................................................... 34 address 2056 (0x0808) gpio pin setting register ............ 35 address 2057 to address 2060 (0x0809 to 0x080c) auxiliary adc data registers .................................................. 36 address 2064 to address 2068 (0x0810 to 0x0814) safeload data registers ............................................................................. 37 address 2069 to address 2073 (0x0815 to 0x0819) safeload address registers ....................................................................... 37 address 2074 to address 2075 (0x081a to 0x081b) d ata capture registers ........................................................................ 38 address 2076 (0x081c) dsp core control register .......... 39 address 2078 (0x081e) serial output control register .... 40 address 2079 (0x081f) serial input control register ....... 41 address 2080 to address 2081 (0x0820 to 0x0821) multipurpose pin conf iguration registers ............................ 42 address 2082 (0x0822) auxiliary adc and power control register ........................................................................................ 43 address 2084 (0x0824) auxiliary adc ena ble register ... 43 address 2086 (0x0826) oscillator power - down register . 43 address 2087 (0x0827) dac setup ...................................... 44 multipurpose pins .......................................................................... 45 auxiliary adc ............................................................................ 45 general - purpose input/output pins ....................................... 45 serial data input/output ports ................................................ 45 layout recommendations ............................................................. 48 parts placemen t .......................................................................... 48 grounding ................................................................................... 48 typical application schematics .................................................... 49 self - boot mo de ........................................................................... 49 i 2 c control .................................................................................. 50 spi control .................................................................................. 51 outline dimensions ....................................................................... 52 ordering guide .......................................................................... 52
data sheet adau1702 rev. d | page 3 of 52 revision history 5 /16 rev. c to rev. d changes to audio dacs section and figure 19 ......................... 21 6/11 rev. b to rev. c deleted table 2 .................................................................................. 6 2 /11 rev. a to re v. b changes to test conditions/comments column, table 3 .......... 8 change s to table 10 ........................................................................ 12 changes to figure 20, figure 21 .................................................... 25 changes to figure 27 ...................................................................... 27 9 / 10 rev. 0 to rev. a deleted temperature range section and table 4, renumbered seuentially ........................................................................................ 4 moved and changes t o functional block diagram section and figure 1 ............................................................................................... 4 changes to table 1 ............................................................................ 5 added table 2 renumbered seuentially ..................................... 6 changes to table 3 and table 5 ....................................................... 7 changes to table 7 ............................................................................ 8 reorganied digital timing diagrams section ............................ 9 changes to figure 2 ........................................................................... 9 changes to figure 5 ........................................................................ 1 0 changes to table 8 .......................................................................... 11 changes to table 1 0 ........................................................................ 1 2 changes to figure 8 to figure 11 .................................................. 15 renamed theory of operation section ...................................... 17 chan ges to initialiation section .................................................. 18 change s to setting the master clock/pll mode section ......... 1 9 changes to voltage regulator section ......................................... 20 c hanges to figure 19 ...................................................................... 22 changes to table 14 ........................................................................ 23 changes to figure 22 through figure 25 ...................................... 2 6 deleted table 20 .............................................................................. 27 changes to self - boot section and eeprom format section .. 28 added figur e 28, renumbered seuentially ............................... 29 changes to address 2057 to address 2060 (0x809 to 0x80c) auxiliary adc data registers section ........................................ 37 changes to multipurpose pins section and auxiliary adc section .............................................................................................. 46 changes to ordering guide ........................................................... 56 7 /07 revision 0: initial version
adau1702 data sheet rev. d | page 4 of 52 functional block dia gram 2 2 gpio input/output matrix digital vdd digital ground analog vdd analog ground pll mode pll loop filter crystal 3.3v 28-/56-bit, 25mips audio processor core 10ms delay memory 2-channel analog input 1.8v regulator stereo adc filta/ adc_res reset/ mode select control interface and selfboot 8-ch digital input 8-ch digital output 8-bit aux adc reset selfboot digital in or gpio aux adc or gpio digital out or gpio i 2 c/spi and writeback dac dac 4-channel analog output filtd/cm pll clock oscillator adau1702 3 3 3 2 2 2 3 3 3 5 05798-001 figure 1.
data sheet adau1702 rev. d | page 5 of 52 specificat ions avdd = 3.3 v, dvdd = 1.8 v, pvdd = 3.3 v, iovdd = 3.3 v, master clock input = 12.288 mhz , unless otherwise noted . analog performance specifications are guaranteed at 25c (ambient) . table 1 . parameter min typ max unit test co nditions/comments adc inputs number of channels 2 stereo input resolution 24 bits full - scale input 100 (283) a rms (a p - p) 2 v rms input with 20 k (18 k external + 2 k internal) series resistor signal -to - noise ratio a - weighted 100 db dynamic range ?60 db with respect to full - scale analog input a - weighted 95 100 db total harmonic distortion + noise ? 83 db ?3 db with respect to full - scale analog input interchannel gain mismatch 25 250 mdb crosstalk ? 82 db analog channel -to - channel crosstalk dc bias 1.4 1.5 1.6 v gain error ?1 1 +11 % group delay 480 s delay is the same across all frequencies d ac outputs number of channels 4 two stereo output channels resolution 24 bits full - scale analog output 0.9 (2.5) v rms (v p -p ) signal -to - noise ratio a - weighted 104 db dynamic range ?60 db with respect to full - scale analog output a - weighted 99 104 db total harmonic distortion + noise ?90 db ?1 db with respect to full - scale analog output crosstalk ? 100 db analog channel -to - channel crosstalk interchannel gain mismatch 25 250 mdb gain error ?10 +10 % dc bias 1.4 1.5 1.6 v group delay 400 s delay is the same across all frequencies voltage reference absolute voltage (cm) 1.4 1.5 1.6 v auxiliary adc full - scale analog input 2.8 3.0 3.1 v inl 0.5 lsb dnl 1.0 lsb offset 15 mv input i mpedance 17.8 30 42 k
adau1702 data sheet rev. d | page 6 of 52 digital input/output table 2. parameter symbol min typ max 0 f 1 unit test conditions/comments input voltage, high v ih 2.0 iovdd v input voltage, low v il 0.8 v input leakage, high i ih 1 a excluding mclki input leakage, low i il 1 a excluding mclki and bidirectional pins bidirectional pin pull-up current, low 150 a mclki input leakage, high i ih 3 a mclki input leakage, low i il 3 a high level output voltage v oh 2.0 v i oh = 2 ma low level output voltage v ol 0.8 v i ol = 2 ma input capacitance 5 pf gpio output drive 2 ma 1 maximum specifications are measur ed across a temperature range of ? 40c to +130c (case), a dvdd range of 1.62 v to 1.98 v, and an av dd range of 2.97 v to 3.63 v. power table 3. parameter min typ max 1 f 1 unit supply voltage analog voltage 3.3 v digital voltage 1.8 v pll voltage 3.3 v iovdd voltage 3.3 v supply current analog current (avdd and pvdd) 50 85 ma digital current (dvdd) 40 60 ma analog current, reset 35 55 ma digital current, reset 1.5 4.5 ma dissipation operation (avdd, dvdd, pvdd) 2 f 2 286.5 mw reset, all supplies 118 mw power supply rejection ratio (psrr) 1 khz, 200 mv p-p signal at avdd 50 db 1 maximum specifications are measur ed across a temperature range of ? 40c to +130c (case), a dvdd range of 1.62 v to 1.98 v, and an av dd range of 2.97 v to 3.63 v. 2 power dissipation does not include iovdd power because the current drawn from this supply is dependent on the loads at the dig ital output pins. pll and oscillator table 4. pll and oscillator parameter min typ max 3 f 1 unit pll operating range mclk_nom ? 20% mclk_nom + 20% mhz pll lock time 20 ms crystal oscillator transconductance (g m ) 78 mmho 1 maximum specifications are measur ed across a temperature range of ? 40c to +130c (case), a dvdd range of 1.62 v to 1.98 v, and an av dd range of 2.97 v to 3.63 v. regulator table 5. regulator parameter min 4 f 1 typ 1 max 1 unit dvdd voltage 1.7 1.8 1.84 v 1 regulator specifications are calc ulated using a zetex semiconductors fzt953 transistor in the circuit.
data sheet adau1702 rev. d | page 7 of 52 digital timing specification s all timing specifications are given for the defau lt (i 2 s) st ates of the serial input port and the serial output po rt (see table 64). table 6 . digital timing limit parameter t min t max unit description master clock t mp 36 244 ns mclk i period, 512 f s mode t mp 48 366 ns mclk i period, 384 f s mode t mp 73 488 ns mclk i period, 256 f s mode t mp 291 1953 ns mclk i period, 64 f s mode serial port t bil 40 ns input_bclk (pin 9) low pulse width t bih 40 ns input_bclk (pin 9) high pulse width t lis 10 ns input_lrclk (pin 8) s etup ; t ime to input_bclk rising t lih 10 ns input_lrclk (pin 8) hold ; t ime from input_bclk risin g t sis 10 ns sdata_inx (pin 10, pin 11, pin 28, or pin 29) setup ; t ime to input_bclk (pin 9) rising t sih 10 ns sdata_inx (pin 10, pin 11, pin 28, or pin 29) hold ; t ime from input_bclk (pin 9) rising t los 10 ns output_lrclk (pin 16) setup in slave mod e t loh 10 ns output_lrclk (pin 16) hold in slave mode t ts 5 ns output_bclk (pin 19) falling to output_lrclk (pin 16) timing skew t sods 40 ns sdata_ou tx (pin 14, pin 15, pin 26, or pin 27) delay in slave mode ; t ime from output_bclk (pin 1 9) falling t sodm 40 ns sdata_ou tx (pin 14, pin 15, pin 26, or pin 27) delay in master mode ; t ime from output_bclk (pin 1 9) falling spi port f cclk 6.25 mhz cclk (pin 23) frequency t ccpl 80 ns cclk (pin 23) pulse width low t ccph 80 ns cclk (pin 23) pulse wid th high t cls 0 ns clatch (pin 21) setup ; t ime t o cclk (pin 23) rising t clh 100 ns clatch (pin 21) hold ; t ime f rom cclk (pin 23) rising t clph 80 ns clatch (pin 21) pulse width high t cds 0 ns cdata (pin 20) setup ; t ime t o cclk (pin 23) rising t cdh 8 0 ns cdata (pin 20) hold ; t ime f rom cclk (pin 23) rising t cod 101 ns cout (pin 22) delay ; t ime f rom cclk (pin 23) falling i 2 c port f scl 400 khz scl (pin 23) frequency t sclh 0.6 s scl (pin 23) high t scll 1.3 s scl (pin 23) low t scs 0.6 s setup time , r elevant for repeated start condition t sch 0.6 s hold time ; a fter this period, the first clock is generated t ds 100 ns data setup tim e t scr 300 ns scl (pin 23) rise time t scf 300 ns scl (pin 23) fall time t sdr 300 ns sda (pin 22) ris e time t sdf 300 ns sda (pin 22) fall time t bft 0.6 bus - free time ; t ime b etween stop and start multipurpose pins and reset t grt 50 ns gpio (mpx pins) rise time t gft 50 ns gpio (mpx pins) fall time t gil 1.5 1/f s s gpio (mpx pins) input lat ency; t ime u ntil high/low value is read by core t rlpw 20 ns reset low pulse width
adau1702 data sheet rev. d | page 8 of 52 digital timing diagrams input_bclk input_lrclk sdata_inx left-justified mode lsb sdata_inx i 2 s mode sdata_inx right-justified mode t bih msb msb?1 msb msb 8-bit clocks (24-bit data) 12-bit clocks (20-bit data) 14-bit clocks (18-bit data) 16-bit clocks (16-bit data) t lis t sis t sih t sih t sis t sis t sih t sis t sih t lih t bil 05798-002 figure 2. serial input port timing clatch cclk cdata cout t cls t cds t cdh t cod t ccph t ccpl t clh t clph 05798-004 figure 3. spi port timing t sch t sclh t scr t scll t scf t ds sda scl t sch t bft t scs 05798-005 figure 4. i 2 c port timing
data sheet adau1702 rev. d | page 9 of 52 output_bclk output_lrclk sdata_outx left-justified mode lsb sdata_outx i 2 s mode sdata_outx right-justified mode t bih msb msb?1 msb msb 8-bit clocks (24-bit data) 12-bit clocks (20-bit data) 14-bit clocks (18-bit data) 16-bit clocks (16-bit data) t los t sods t sodm t lch t ts t bil t sods t sodm t sods t sodm 05798-003 figure 5. serial output port timing mclki reset t mp t rlpw 05798-006 figure 6. master clock and reset timing
adau1702 data sheet rev. d | page 10 of 52 absolute maximum rat ings table 7 . paramet er rating dvdd to g round 0 v to 2.2 v avdd to g round 0 v to 4.0 v iovdd to g round 0 v to 4.0 v digital inputs dgnd ? 0.3 v, iovdd + 0.3 v temperature range storage ?65c to +150c operating (ambient), functionally guaranteed 0 c to + 7 0c maxim um junction temperature 135c soldering (10 sec) 300c stresses at or above those listed under absolute maximum ratings may cause permanent damage to the product. this is a stress rating only; functional operation of the product at these or any other con ditions above those indicated in the operational section of this specification is not implied. operation beyond the maximum operating conditions for extended periods may affect product reliability. thermal resistance ja is specified for the worst - case conditions, that is, a device soldered in a circuit board for surface - mount packages. table 8 . thermal resistance package type ja jc unit 48- lead lqfp 72 19.5 c/w esd caution
data sheet adau1702 rev. d | page 11 of 52 pin con figuration and funct ion descriptions 36 35 34 33 32 31 30 29 28 27 26 25 1 2 3 4 5 6 7 8 9 10 11 12 avdd pll_lf pvdd pgnd mclki osco rsvd mp2 mp3 mp8 mp9 dgnd dvdd mp7 mp6 mp10 vdrive iovdd mp11 addr1/cdata/wb clatch/wp sda/cout scl/cclk dvdd agnd adc0 adc_res adc1 reset selfboot addr0 mp4 mp5 mp1 mp0 dgnd 13 14 15 16 17 18 19 20 21 22 23 24 48 47 46 45 44 43 42 41 40 39 38 37 avdd filta vout0 vout1 vout2 vout3 agnd filtd cm pll_mode1 pll_mode0 agnd adau1702 top view (not to scale) pin 1 indicator 05798-007 figure 7 . 48 - lead lqfp pin configuration table 9 . pin function descriptions pin no. mnemonic type 1 description 1, 37, 42 agnd pwr analog ground pin. the agnd, dgnd, and pgnd pins can be tied directly together in a common ground plane. decouple agnd to an avdd pin with a 100 nf capacitor. 2 adc 0 a_in analog audio input 0 . full - scale 100 a rms input. current input allows the input voltage level to be scaled with an external resistor. an 18 k resistor gives a 2 v rms full - scale input. see the audio adc s section for details . 3 adc_res a_in adc reference current. set t he full - scale current of the adcs with an external 18 k resistor connected between this pin and ground. see the audio adc s section for details . 4 adc 1 a_in analog audio input 1 . full - scale 100 a rms input. current input allows the input voltage level to be scaled with an external resistor. an 18 k resistor gives a 2 v rms full - scale input. 5 reset d_in active low reset input. reset is triggered on a high - to - low edge, and the adau1702 exits reset on a low -to - high edge. for more information about initialization, see the power - up sequence section for details . 6 selfboot d_in enable/disable self - boot. selfboot sel ects control port (low) or self - boot (high). setting this pin high initiates a self - boot operation when the adau1702 is brought out of a reset. this pin can be tied directly to the control vo ltage or pulled up/down with a resistor. see the self - boot section for details. 7 addr0 d_in i 2 c and spi address 0. in combination with the addr1 function on pin 20 , this pin allows up to four adau1702 device s to be used on the same i 2 c bus and up to two ics to be used with a common spi clatch signal. see the i 2 c port section for details. 8 mp4 d_io multipurpose gpio or serial input port l rclk (input_lrclk). see the multipurpose pins section for more details. 9 mp5 d_io multipurpose gpio or serial input port bclk (input_bclk). see the multipurpose pins section for more details. 10 mp1 d_io multipurpose gpio or serial input port data 1 (sdata_in 1 ). see the multipurpose pins section for more details. 11 mp0 d_io multipurpose gpio or serial input port data 0 (sdata_in 0 ). see the multipu rpose pins section for more details. 12, 25 dgnd pwr digital ground pin. the agnd, dgnd, and pgnd pins can be tied directly together in a common ground plane. decouple dgnd to a dvdd pin with a 100 nf capacitor. 13, 24 dvdd pwr 1.8 v digital supply. t his can be supplied either externally or generated from a 3.3 v supply with the on - board 1.8 v regulator. decouple dvdd to dgnd with a 100 nf capacitor.
adau1702 data sheet rev. d | page 12 of 52 pin no. mnemonic type 1 description 14 mp7 d_io multipurpose gpio or serial output port data 1 (sdata_out1). see the multipurpose pins section for more details. 15 mp6 d_io multipurpose gpio, serial output port data 0, or tdm data output (sdata_out0). see the multipurpose pins section for more details. 16 mp10 d_io multipurpose gpio or serial output port lrclk (output_lrclk). see the multipurpose pins section for more details. 17 vdrive a_out drive for 1.8 v regulator. the base of the voltage regulator external pnp transistor is driven from vdrive. see the voltage regulator section for details. 18 iovdd pwr supply for input and output pins. the voltage on this pin sets the highest input voltage that should be seen on the digital input pins. this pin is also the supply for the digita l output signals on the control port and mp pins. always set iovdd to 3.3 v. the current draw of this pin is variable because it is dependent on the loads of the digital outputs. 19 mp11 d_io multipurpose gpio or serial output port bclk (output_bclk). see the multipurpose pins section for more details. 20 addr1/cdata/wb d_in i 2 c address 1/spi data input/eeprom write back trigger. this is a multifunction pin as follows: addr1: in combination with addr0, this sets the i 2 c addr ess of the ic so that four adau1702 s can be used on the same i 2 c bus. see the i 2 c port section for details. cdata: see the spi port se ction for details. wb: a rising (default) or falling (if set in the eeprom messages) edge on this pin triggers a writeback of the interface registers to the external eeprom. this function can be used to save parameter data on power - down. see the self - boot section for details. 21 clatch/wp d_io spi latch signal / self - boot eeprom write protect . this is a multifunction pin as follows: clatch : m ust go low at the beginning of an spi transaction and high at the end of a transac tion. each spi transaction can take a different number of cycles on the cclk pin to complete, depending on the address and read/write bit that are sent at the beginning of the spi transaction. see the spi port section for details . wp : an open - collector output pin when in self - boot mode. the adau1702 pulls this low to enable writes to an external eeprom. this pin should be pulled high to 3.3 v. see the self - boot section for details. 22 sda/cout d_io i 2 c data/ spi data output. this is a multifunction pin, as follows: sda: this is for i 2 c data and is a bidirectional open - collector pin. the line connected to this pin should have a 2.2 k pull - up resistor. see the i 2 c port section for details. cout: t his spi data output is used for reading back registers and memory locations. it is three - stated when an spi read is not active. see the spi port section for details. 23 scl/cclk d_io i 2 c clock / spi clock . this is a multifunction pin, as follows: scl: t his pin function is for the i 2 c c lock and is always an open - collector input when in i 2 c control mode. in self - boot mode, this pin is a n open - collector output (i 2 c master). the line connecte d to this pin should have a 2.2 k pull - up resistor. see the i 2 c port section for details. cclk: this pin function is for the spi clock and it either run s continuously or is gated off between spi transactions. see the spi port section for details. 26 mp9 d_io/a_io multipurpose gpio, serial output port data 3 (sdata_out3), or auxiliary adc input 0. see the multipurpose pins section for more details. 27 mp8 d_io/a_io multipu rpose gpio, serial output port data 2 (sdata_out2), or auxiliary adc input 3. see the multipurpose pins section for more details. 28 mp3 d_io/a_io multipurpose gpio, serial input port data 3 (sdata_in3), or auxiliary adc input 2 . see the multipurpose pins section for more details. 29 mp2 d_io/a_io multipurpose gpio, serial input port data 2 (sdata_in2), or auxiliary adc input 1. see the multipurpose pins section for more deta ils. 30 rsvd n/a reserved. tie to ground, either directly or through a pull - down resistor. 31 osco d_out crystal oscillator circuit output. connect a 100 damping resistor between this pin and the crystal. do not use t his output to directly drive a clock to another ic. if the crystal oscillator is not used, this pin can be left disconnected. see the using the oscillator sect ion for details. 32 mclki d_in master clock input. mclki can either be connected to a 3.3 v clock signal or be the input f rom the crystal oscillator circuit. see the setting master clock/pll mode section for details.
data sheet adau1702 rev. d | page 13 of 52 pin no. mnemonic type 1 description 33 pgnd pw r pll ground pin. the agnd, dgnd, and pgnd pins can be tied directly together in a common ground plane. decouple pgnd to pvdd with a 100 nf capacitor. 34 pvdd pwr 3.3 v power supply for the pll and the auxiliary adc analog section. decouple t his pin sho uld to pgnd with a 100 nf capacitor. 35 pll_lf a_out pll loop filter connection. two capacitors and a resistor need to be connected to this pin, as shown in figure 15. see the setting master clock/pll mode section for more details. 36, 48 avdd pwr 3.3 v analog supply. decouple t his pin to agnd with a 100 nf capacitor. 38, 39 pll_mode0, pll_mode1 d_in pll mode setting. pll_mode0 and pll_mode1 set the output frequency of the master clock pll. see the setting master clock/pll mode section for more details. 40 cm a_out 1.5 v common - mode reference. connect a 47 f decoupling capacitor between this pin and ground to reduce crosstalk between the adcs and dacs. the material of th e capacitors is not critical. this pin can be used to bias external analog circuits, as long as those circuits are not drawing current from the pin (such as when cm is connected to the noninverting input of an op amp). 41 f i ltd a_out dac filter decoupling pin. connect a 10 f capacitor between this pin and ground. the capacitor material is not critical. the voltage on this pin is 1.5 v. 43 vout3 a_out vo ut 3 dac output . the full - scale output voltage is 0.9 v rms . this output can be used with either an active or passi ve output reconstruction filter . see the audio dac s section for details. 44 vout2 a_out vout2 dac output. the full - scale output voltage is 0.9 v rms . this output can be used with either an active or passive output reconstruction fi lter. see the audio dac s section for details. 45 vout1 a_out vout 1 dac output. the full - scale output voltage is 0.9 v rms . this output can be used with either an active or passive output reconstruction filter. see the audio dac s section for details. 46 vout0 a_out vout 0 dac output. the full - scale output voltage is 0.9 v rms . this output can be used with either an active or passive output reconstruction filter. see the audio da c s section for details. 47 f i lta a_out adc filter decoupling pin. connect a 10 f capacitor between this pin and ground. the capacitor material is not critical. the voltage on this pin is 1.5 v. 1 pwr is power/ground, a_in is analog input, d_in is digital input, a_out is analog outp ut, d_io is digital input/output, d_io is digital input/output, a_io is analog input/output, and n/a is not applicable.
adau1702 data sheet rev. d | page 14 of 52 typical performance characteristics 0.20 0.10 0.15 0 ?0.10 0.05 ?0.05 ?0.15 ?0.20 0 2 4 6 8 10 12 14 16 18 20 22 gain (db) frequency (khz) f s = 48khz 05798-008 figure 8 . adc pass - band filter response 0 25 30 35 40 20 15 10 5 45 gain (db) frequency (khz) 10 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 f s = 48khz 05798-009 figure 9 . adc stop - band filter response 0.10 ?0.10 0.08 ?0.08 0 0.02 ?0.02 0.04 ?0.04 0.06 ?0.06 0 5 10 15 20 gain (db) frequency (khz) f s = 48khz 05798-010 figure 10 . dac pass - band filter response 10 0 ?100 ?90 ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 2 4 6 8 10 12 14 16 18 20 gain (db) frequency (khz) f s = 48khz 05798-011 figure 11 . dac stop - band filter response
data sheet adau1702 rev. d | page 15 of 52 system block diagram 22pf 22pf adau1702 adcs dacs vout0 vout1 vout2 vout3 adc0 iovdd pvdd avdd dvdd vdrive adc1 adc_res filta filtd cm addr0 addr1/cdata/wb clatch/wp sda/cout scl/cclk selfboot reset rsvd eeprom, microcontroller, and/or selfboot logic agnd dgnd pgnd osco mclki pll_mode1 pll_mode0 pll_lf mp11 mp10 mp9 mp8 mp7 mp6 mp5 mp4 mp3 mp2 mp1 mp0 reset logic 100nf 10f 100nf 10f + + dac output filters (active or passive) multipurpose pin interfaces 100nf 10f 18k? 18k? 18k? audio adc input signals pll settings 3.3v 3mhz t o 25mhz 56n f 3.3n f 475 ? 100? 3.3v to 1.8v regulator circuit 3.3v 100nf 100nf 100nf + 100nf 10f + 10f + 05798-012 figure 12 . system block diagram
adau1702 data sheet rev. d | page 16 of 52 t h eory of operation the core of the adau1702 is a 28 - bit dsp (5 6 - bit with double precision processing ) optimized for audio processing. the program and parameter rams can be loaded w ith a custom audio processing signal flow built by using sigmastudio graphical programming software from analog devices, inc . the values stored in the parameter ram control individual signal processing blocks, such as equalization filters, dynamics process ors, audio delays, and mixer levels. a safeload feature allows for transparent paramet er updates and prevents clicks i n the output signals. the program ram, parameter ram, and register contents can be saved in an external eeprom, from which the adau1702 can self - boot on startup . in this standalone mode, parameters can be controlled through the on - board multipurpose pins. the adau1 702 can accept controls from switches, potentiometers, rotary encoders, and ir receivers. parameters such as volume and tone settings can be saved to the eeprom on power - down and recalled on power - up. the adau1702 can operate with digital or analog inputs and outputs , or a mix of both. the stereo adc and four dac s each have an snr of at least +100 db and a thd + n of at least ? 83 db. the 8 - channel , flexible serial data input/output ports all ow glueless interconnection to a variety of adcs, dacs, general - purpose dsps, s/pdif receivers and transmitters, and sample rate converters. the serial ports of the adau1702 can be configured in i 2 s, left justified, right justified, or tdm serial port compatible modes. twelve multipurpose (mp) pins allow the adau1702 to receive external control signals as input and to output fla gs or controls to other devices in the system. the mp pins can be configured as digital i/os, inputs to the 4 - channel auxiliary adc, or serial data i/o ports. as inputs, they can be connected to buttons, switches, rotary encoders, potentiometers, ir receiv ers, or other external circuitry to control the internal signal processing program. when configured as outputs, these pins can drive leds, control other ics, or connect to other external circuitry in an application. the adau1702 has a sophisticated control port that supports complete read/write capability of all memory locations. control registers are provided to offer complete control of the configu - ration and serial modes of the chip . the adau1702 can be configured for either spi or i 2 c control , or can self - boot from an external eeprom . an on - board oscillator can be connected to an external crystal to generate the master clock . in addition , a master clock phase - locked loop (pll) allows the adau1702 to be clocked from various clock speeds. the pll can accept inputs of 64 f s , 256 f s , 384 f s , or 512 f s to gen erate the internal master clock of the core. the sigmastudio software is used to program and control the sigmadsp ? through the control port. along with designing and tuning a signal flow, the tools can be used to configure all of the dsp registers and bur n a new program into the external eeprom. the sigmastudio gra phical interface allows anyone with digital or analog audio processing knowledge to easily design a dsp signal flow and port it to a target application. at the same time, it provides enough flexi bility and programmability for an expe - rienced dsp programmer to have in - depth control of the design . in sigmastudio, the user can connect graphical blocks ( such as biquad filters, dynamics processo rs, mixers, and delays ) , compile the design, and load the program and parameter files into the adau1702 memory through the control port. signal processing blocks available in the provided librarie s include ? single - and double - precision biquad filters ? processors with peak or rms detection for monochannel and multichannel dynamics ? mixers and splitters ? tone and noise generators ? fixed and variable gain ? loudness ? delay ? stereo enhancement ? dynamic bass boost ? noise and tone sources ? fir filters ? level detectors ? gpio control and conditioning additional processing blocks are always being developed . analog devices also provides proprietary and third - party algorithms for applications such as matrix decoding, bass enhancement, and surround virtualizers. contact analo g devices for information about licensing these algorithms. the adau1702 operates from a 1.8 v digital power supply and a 3.3 v analog supply. an on - board voltage regulator can be used to o perate the chip from a single 3.3 v supply. it is fabricated on a single monolithic , integrated circuit and is packaged in a 48 - lead lqfp for operation over the 0 c to + 70 c temperature range.
data sheet adau1702 rev. d | page 17 of 52 initialization this section details the procedure for properly setting up the adau1702 . the following five-step sequence provides an overview of how to initialize the ic: 1. apply power to adau1702 . 2. wait for pll to lock. 3. load the sigmadsp program and parameters. 4. set up the registers (including multipurpose pins and digital interfaces). 5. turn off the default muting of the converters, clear the data registers, and initialize the dac setup register (see the control registers setup section for specific settings). power-up sequence the adau1702 has a built-in power-up sequence that initializes the contents of all internal rams on power-up or when the device is brought out of a reset. on the positive edge of reset , the contents of the internal program boot rom are copied to the internal program ram memory, the parameter, ram, is filled with values (all 0s) from its associated boot rom, and all registers are initialized to 0s. the default boot rom program copies audio from the inputs to the outputs without processing it (see figure 13). in this program, serial digital input 0 and input 1 are output on dac0 and dac1 and serial digital output 0 and output 1. adc0 and adc1 are output on dac2 and dac3. the data memories are also zeroed at power-up. do not write new values to the control port until the initialization is complete. table 10. power-up time mclki input init. time max program/ parameter/register boot time (i 2 c) total 3.072 mhz (64 f s ) 85 ms 133 ms 218 ms 11.289 mhz (256 f s ) 23 ms 133 ms 156 ms 12.288 mhz (256 f s ) 21 ms 133 ms 154 ms 18.432 mhz (384 f s ) 16 ms 133 ms 149 ms 24.576 mhz (512 f s ) 11 ms 133 ms 144 ms the pll start-up time lasts for 2 18 cycles of the clock on the mclki pin. this time ranges from 10.7 ms for a 24.576 mhz (512 f s ) input clock to 85.3 ms for a 3.072 mhz (64 f s ) input clock and is measured from the rising edge of reset . following the pll startup, the duration of the adau1702 boot cycle is about 42 s for a f s of 48 khz. the user should avoid writing to or reading from the adau1702 during this start-up time. for an mclk input of 12.288 mhz, the full initialization sequence (pll startup plus boot cycle) is approximately 21 ms. as the device comes out of a reset, the clock mode is immediately set by the pll_mode0 and pll_mode1 pins. the reset is synchronized to the falling edge of the internal clock. table 10 lists typical times to boot the adau1702 into an operational state of an application, assuming a 400 khz i 2 c clock loading a full program, parameter set, and all registers (about 6.5 kb). in reality, most applications do not fill the rams and therefore boot time (column 3 of table 10) is less. control registers setup the following registers must be set as described in this section to initialize the adau1702 . these settings are the basic minimum settings needed to operate the ic with an analog input/output of 48 khz. more registers may need to be set, depending on the application. see the rams and registers section for additional settings. dsp core control register (address 2076) set bits[4:2] (adm, dam, and cr) each to 1. dac setup register (address 2087) set bits[0:1] (ds[1:0]) to 01. recommended program/parameter loading procedure when writing large amounts of data to the program or para- meter ram in direct write mode, the processor core should be disabled to prevent unpleasant noises from appearing in the audio output. 1. set bit 3 and bit 4 (active low) of the core control register to 1 to mute the adcs and dacs. this begins a volume ramp-down. 2. set bit 2 (active low) of the core control register to 1. this zeroes the sigmadsp accumulators, the data output registers, and the data input registers. 3. fill the program ram using burst mode writes. 4. fill the parameter ram using burst mode writes. 5. deassert bit 2 to bit 4 of the core control register. adc0 dac1 dac0 dac2 dac3 adc1 sdata_in0 sdata_out0 05798-013 figure 13. default program signal flow
adau1702 data sheet rev. d | page 18 of 52 power reduction modes sections of the adau1702 chip can be turned on and off as needed to reduce power consumption. these include the adcs, dacs, and voltage reference. the individual analog sections can be turned off by writing to the a uxiliary adc an d p ower c ontrol register. by default, the adcs, dacs, and reference are enabled (all bits set to 0). each of these can be turned off by writing a 1 to the appropriate bits in this register. the adc power - down mode powers down both adcs , and each dac can be powered down individually. the current savings is about 15 ma when the adcs are powered down and about 4 ma for each dac that is powered down . the voltage reference, which is supplied to both the adcs and dacs, should only be powered down if all adcs an d dacs are powered down. the reference is powered down by setting both bit 6 and bit 7 of the control register. using the oscillator the adau1702 can use an on - board oscillator to generate i ts master clock. the oscillator is designed to work with a 256 f s master clock , which is 12.288 mhz for a f s of 48 khz and 11.2896 mhz for a f s of 44.1 khz. the crystal in the oscil - lator circuit should be an at - cut , parallel resonator operating at its f undamental frequency. figure 14 shows the external circuit recommended for proper operation. c1 100? mclki osco c2 adau1702 05798-014 figure 14 . crystal oscillator circuit the 100 damping resistor on osco gives the oscillator a voltage swing of approximately 2.2 v. the crystal shunt capaci - tance should be 7 pf. its load capacitance should be about 18 pf, although the circuit supports values of up to 25 pf. the necessary va lues of the c1 and c2 load c apacitor s can be calculated from the crystal load capacitance as follows : stray l c c2 c1 c2 c1 c u ere c stray is the stray capacitance in the circuit and is usually assumed to be approximately 2 pf to 5 pf. osco should not be u sed to drive the crystal signal directly to another ic . this signal is an analog sine wave , and it is not appro - priate to use it to drive a digital input. there are two options for using the a dau1702 to provide a master clock to other ics in the system. the first, and less recommended , method is to use a high impedance input digital buffer on the osco signal. if this approach is used , minimize the trace length to the buffer input. the second m ethod is to use a clock from the serial output port. pin mp11 can be set as an output (master) clock divided down from the internal core clock. if this pin is set to serial output port (output_bclk) mode in the m ultipurpose p in c onfiguration register ( addr ess 2081 ) and the port is set to master in the s erial o utput c ontrol register ( address 2078), the desired output frequency can also be set in the s erial o utput c ontrol register with the obf[1:0] bits (see table 47). if the osc illator is not us ed in the design , it can be powered down to save power. this can be done if a system master clock is already available in the system. by default, the oscillator is powered on. the oscillator powers down when a 1 is written to the opd bit o f the o scillator p ower - d own register (see table 58) . setting master clock /pll mode the mclk i input of the adau1702 feeds a pll, which generates the 25 mips sigmad sp core clock . in normal operation, the input to mclk i must be one of the following: 64 f s , 256 f s , 384 f s , or 512 f s , where f s is the input sampling rat e. the mode is set on pll_mode0 and pll_mode1 as described in table 1 1 . if the adau1702 is set to receive double - rate signals (by reducing the number of program steps per sample by a factor of 2 using the core control register), the master clock frequenc y mus t be 32 f s , 128 f s , 192 f s , or 256 f s . if the adau1702 is set to receive quad - rate signals (by reducing the number of program steps per sample by a factor of 4 using the core control register), the master clock frequenc y must be 16 f s , 64 f s , 96 f s , or 128 f s . on power - up, a clock signal must be present on the mclk i pin so that the adau1702 can complete its initia lization routine. table 11 . pll modes mclki input pll_mode0 pll_mode1 64 f s 0 0 256 f s 0 1 384 f s 1 0 512 f s 1 1 do not change the clock mode without also resetting the adau1702 . if the mode is changed during operation, a click or pop can result in the output signals. change t he state of the pll_modex pins while holding reset low. connect t he pll loop filter to the pll_lf pin . this filte r, shown in figure 15 , includes three passive components two capacitors and a resistor. the values of these components do not need to be exact; the tolerance can be up to 10% for the resistor and up to 20% for the capacitors. th e 3.3 v signal shown in figure 15 can be connected to the avdd supply of the chip . adau1702 3.3v 475? pll_lf 56nf 3.3nf 05798-015 figure 15 . pll loop filter
data sheet adau1702 rev. d | page 19 of 52 voltage regulator the digital voltage of the adau1702 must be set to 1.8 v. the chip includes an on - board voltage regulator that allows the device to be used in systems without an available 1.8 v supply but with an available 3.3 v supply . the only external components needed in suc h instances are a pnp transistor, a resistor, and a few bypass capacitors. only one pin, vdrive, is necessary to support the regulator. the recommended design for the voltage regulator is shown in figure 16 . the 10 f and 100 nf capacitors shown in this configuration are recommended for bypassing, but are not necessary for operation. each dvdd pin should have its own 100 nf bypass capacitor, but only one bulk capacitor (10 f to 47 f) is needed for both dvdd pins. with this conf iguration , 3.3 v is the main system voltage; 1.8 v is generated at the transistors collector, which is connected to the dvdd pins. vdrive is connected to the base of the pnp transistor. if the regulator is not used in the design, vdrive can be tied to gro und. two specifications must be considered when choosing a regulator transistor : t he transistors current amplification factor (h fe or beta) should be at least 100, and the transistors collector must be able to dissipate the heat generated when regulatin g from 3.3 v to 1.8 v. the maximum digital current drawn from the adau1702 is 60 ma . the equation to determine the minimum power dissipation of the transistor is as follows: (3.3 v ? 1.8 v) 60 ma = 90 mw there are many transistors with these specifications available in small sot - 23 or sot - 223 packages. 3.3v 1k? vdrive dvdd 10f 100nf adau1702 + 05798-016 figure 16 . voltage regulator configuration
adau1702 data sheet rev. d | page 20 of 52 audio adc s the adau1702 has two - adc s . the signal- to - noise ratio (snr) of the adcs is 100 db , and the thd + n is ?83 db. the stereo audio adcs are current input ; therefore, a voltage - to - current resistor is required on the inputs. this means that the voltage level of the input signals to the system can be set to any level; only the input resistors need to be scaled to provide the proper full - scale current input. the adc0 and adc1 input pins, as well as adc_res, have an internal 2 k? resistor for esd protection. the voltage seen directl y on the adc input pins is the 1.5 v common mode. the external resistor connected to adc_res sets the full - scale current input of the adcs. the full range of the adc inputs is 100 a rms with an external 18 k? resistor on adc_res (20 k? total, because it i s in series with the internal 2 k?). the only reason to change the adc_res resistor is if a sampling rate other than 48 khz is used. the voltage - to - current resistors connected to adc0/ adc 1 set the full - scale voltage input of the adcs. with a full - scale cu rrent input of 100 a rms , a 2.0 v rms signal with an external 18 k? resistor (in series with the 2 k? internal resistor) results in an input using the full range of the adc. the matching of these resistors to the adc_res resistor is important to the opera tion o f the adcs. for these three resistors, a 1% tolerance is recommended. either the adc0 and/or adc1 input pins can be left uncon - nected if that channel of the adc is unused. these calculations of resistor values assume a 48 khz sample rate. the recomm ended input and current setting resistors scale linearly with the sample rate because the adcs have a switched - capacitor input. the total value (2 k? internal plus external resistor) of the adc_res resistor with sample rate f s_ new can be calculated as follows : new s total f r _ 000 , 48 k 20 = new s total input f voltage input rms r _ 000 , 48 k 10 ) ( = table 12 . adc input resistor values full - scale rms input voltage (v) adc_res value ( k?) adc0/adc1 resistor value (k?) total adc0/adc1 input resistance (external + internal) (k?) 0.9 18 7 9 1.0 18 8 10 2.0 18 18 20 figure 17 shows a typical configuration of the adc inputs for a 2.0 v rms input si gnal for a f s of 48 khz . the 47 f capacitors are used to ac - couple the signals so that the inputs are biased at 1.5 v. adc1 adc0 adc_res 18k ? 47f 18k ? 47f 18k ? adau1702 05798-017 figure 17 . audio adc input configuration
data sheet adau1702 rev. d | page 21 of 52 audio dac s the adau1702 includes four - dac s . the snr of the dac is 104 db , and the thd + n is ?90 db. a full - scale output on the dacs is 0.9 v rms (2.5 v p - p). the dacs are in an inverting configuration. if a signal inversion from input to output is u ndesirable, it can be reversed either by using an inverting configuration for the output filter or by simply inverting the signal in the sigmadsp program flow. the dac outputs can be filtered with either an active or a passive reconstruction filter. a sin gle - pole , passive , low - pass filter with a 50 khz corner frequency, as shown in figure 18, is sufficient to filter the dac out - of - band noise, although an active filter may provide better audio performance. figure 19 shows a triple - pole , active , low - pass filter that provides a steeper roll - off and better stop - band attenuation than the passive filter. in this configuration , the v+ and v ? pins of the ad8606 op amp are set to a vdd and ground, respectively. to properly initialize the dacs, the ds[1:0] bits in the dac setup register (address 2087) should be set to 01. 47f + 560 ? dac_out 5.6nf filter_out 05798-018 figure 18 . passive dac output filter 47f + 604 ? dac_out 49.9k ? 3.3nf filter_out 4.75k ? 4.75k ? 150pf ad8606 470pf 05798-019 figure 19 . active dac output filter
adau1702 data sheet rev. d | page 22 of 52 control ports the adau1702 can operate in one of three control modes: ? i 2 c control ? spi control ? self-boot (no external controller) the adau1702 has both a 4-wire spi control port and a 2-wire i 2 c bus control port. each can be used to set the rams and registers. when the selfboot pin is low at power-up, the part defaults to i 2 c mode but can be put into spi control mode by pulling the clatch/wp pin low three times. when the selfboot pin is set high at power-up, the adau1702 loads its program, parameters, and register settings from an external eeprom on startup. the control port is capable of full read/write operation for all addressable memory and registers. most signal processing parameters are controlled by writing new values to the parameter ram using the control port. other functions, such as mute and input/output mode control, are programmed by writing to the registers. all addresses can be accessed in a single address mode or a burst mode. the first byte (byte 0) of a control port write contains the 7-bit chip address plus the r/ w bit. the next two bytes (byte 1 and byte 2) together form the subaddress of the memory or register location within the adau1702 . this subaddress must be two bytes because the memory locations within the adau1702 are directly addressable and their sizes exceed the range of single byte addressing. all subsequent bytes (starting with byte 3) contain the data, such as control port data, program data, or parameter data. the number of bytes per word depends on the type of data that is being written. the exact formats for specific types of writes are shown in table 20 to table 29. the adau1702 has several mechanisms for updating signal processing parameters in real time without causing pops or clicks. if large blocks of data need to be downloaded, the output of the dsp core can be halted (using the cr bit in the dsp core control register (address 2076)), new data can be loaded, and then the device can be restarted. this is typically done during the booting sequence at startup or when loading a new program into ram. in cases where only a few parameters need to be changed, they can be loaded without halting the program. to avoid unwanted side effects while loading parameters on the fly, the sigmadsp provides safeload registers. the safeload registers can be used to buffer a full set of parameters (for example, the five coefficients of a biquad) and then transfer these parameters into the active program within one audio frame. the safeload mode uses internal logic to prevent contention between the dsp core and the control port. the control port pins are multifunctional, depending on the mode in which the part is operating. table 13 details these multiple functions. table 13. control port pins and selfboot pin functions pin i 2 c mode spi mode self-boot scl/cclk sclinput cclkinput scloutput sda/cout sdaopen-collector output co utoutput sdaopen-collector output addr1/cdata/wb addr1input cdat ainput wbwriteback trigger clatch/wp unused inputtie to ground or iovdd clatchinput wpeeprom write protect, open-collector output addr0 addr0input addr0input unused inputtie to ground or iovdd
data sheet adau1702 rev. d | page 23 of 52 i 2 c port the adau1702 supports a 2-wire serial (i 2 c-compatible) microprocessor bus driving multiple peripherals. two pins, serial data (sda) and serial clock (scl), carry information between the adau1702 and the system i 2 c master controller. in i 2 c mode, the adau1702 is always a slave on the bus, meaning it cannot initiate a data transfer. each slave device is recognized by a unique address. the address byte format is shown in table 14. the adau1702 slave addresses are set with the addr0 and addr1 pins. the address resides in the first seven bits of the i 2 c write. the lsb of this byte sets either a read or write operation. logic level 1 corresponds to a read operation, and logic level 0 corresponds to a write operation. bit 5 and bit 6 of the address are set by tying the addrx pins of the adau1702 to logic level 0 or logic level 1. the full byte addresses, including the pin settings and read/ write (r/ w ) bit, are shown in table 15. burst mode addressing, where the subaddresses are automati- cally incremented at word boundaries, can be used for writing large amounts of data to contiguous memory locations. this increment happens automatically after a single-word write unless a stop condition is encountered. the registers and rams in the adau1702 range in width from one to five bytes, so the auto- increment feature knows the mapping between subaddresses and the word length of the destination register (or memory location). a data transfer is always terminated by a stop condition. both sda and scl should have 2.2 k pull-up resistors on the lines connected to them. the voltage on these signal lines should not be more than iovdd (3.3 v). table 14. adau1702 i 2 c address byte format bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 0 1 1 0 1 addr1 addr0 r/w table 15. adau1702 i 2 c addresses addr1 addr0 r/ w slave address 0 0 0 0x68 0 0 1 0x69 0 1 0 0x6a 0 1 1 0x6b 1 0 0 0x6c 1 0 1 0x6d 1 1 0 0x6e 1 1 1 0x6f addressing initially, each device on the i 2 c bus is in an idle state monitoring the sda and scl lines for a start condition and the proper address. the i 2 c master initiates a data transfer by establishing a start condition, defined by a high-to-low transition on sda while scl remains high. this indicates that an address or an address and a data stream follow. all devices on the bus respond to the start condition and shift the next eight bits (the 7-bit address plus the r/ w bit) msb first. the device that recognizes the transmitted address responds by pulling the data line low during the ninth clock pulse. this ninth bit is known as an acknowledge bit. all other devices withdraw from the bus at this point and return to the idle condition. the r/ w bit determines the direction of the data. a logic 0 on the lsb of the first byte means the master writes information to the peripheral, whereas a logic 1 means the master reads infor-mation from the peripheral after writing the subaddress and repeating the start address. a data transfer takes place until a stop condition is encountered. a stop condition occurs when sda transitions from low to high while scl is held high. figure 20 shows the timing of an i 2 c write, and figure 21 shows an i 2 c read. stop and start conditions can be detected at any stage during the data transfer. if these conditions are asserted out of sequence with normal read and write operations, the adau1702 immediately jumps to the idle condition. during a given scl high period, the user should only issue one start condition, one stop condition, or a single stop condition followed by a single start condition. if an invalid subaddress is issued by the user, the adau1702 does not issue an acknowledge and returns to the idle condition. if the user exceeds the highest subaddress while in auto-increment mode, one of two actions is taken. in read mode, the adau1702 outputs the highest subaddress register contents until the master device issues a no acknowledge, indicating the end of a read. a no-acknowledge condition is where the sda line is not pulled low on the ninth clock pulse on scl. on the other hand, if the highest subaddress location is reached while in write mode, the data for the invalid byte is not loaded into any subaddress register, a no acknowledge is issued by the adau1702 , and the part returns to the idle condition.
adau1702 data sheet rev. d | page 24 of 52 r/w 0 scl sda sda (continued) scl (continued) 11 0 addr sel 10 start by master frame 1 chip address byte frame 2 subaddress byte 1 frame 3 subaddress byte 2 frame 4 data byte 1 ack by adau1702 ack by adau1702 ack by adau1702 ack by adau1702 stop by master 05798-020 figure 20. i 2 c write to adau1702 clocking r/w scl sda 0 0 0 11 1 sda (continued) scl (continued) sda (continued) scl (continued) adr sel start by master frame 2 subaddress byte 1 frame 3 subaddress byte 2 frame 4 chip address byte frame 1 chip address byte frame 6 read data byte 2 frame 5 read data byte 1 ack by adau1702 ack by adau1702 ack by adau1702 ack by adau1702 stop by master ack by master ack by master repeated start by master r/w addr sel 05798-021 figure 21. i 2 c read from adau1702 clocking
data sheet adau1702 rev. d | page 25 of 52 i 2 c read and write operations figure 22 shows the timing of a single-word write operation. every ninth clock, the adau1702 issues an acknowledge by pulling sda low. figure 23 shows the timing of a burst mode write sequence. this figure shows an example where the target destination registers are two bytes. the adau1702 knows to increment its subaddress register every two bytes because the requested subaddress corresponds to a register or memory area with a two-byte word length. the timing of a single-word read operation is shown in figure 24. note that the first r/ w bit is 0, indicating a write operation. this is because the subaddress still needs to be written to set up the internal address. after the adau1702 acknowledges the receipt of the subaddress, the master must issue a repeated start command followed by the chip address byte with the r/ w set to 1 (read). this causes the adau1702 sda to reverse and begin driving data back to the master. the master then responds every ninth pulse with an acknowledge pulse to the adau1702 . figure 25 shows the timing of a burst mode read sequence. this figure shows an example where the target read registers are two bytes. the adau1702 increments its subaddress every two bytes because the requested subaddress corresponds to a register or memory area with word lengths of two bytes. other addresses may have word lengths ranging from one to five bytes. the adau1702 always decodes the subaddress and sets the auto- increment circuit so that the address increments after the appropriate number of bytes. figure 22 to figure 25 use the following abbreviations: s is the start bit. p is the stop bit. am means acknowledge by master. as means acknowledge by slave. s as as as as subaddress low data byte 1 data byte 2 as p data byte n subaddress high chip address, r/w = 0 05798-022 figure 22. single word i 2 c write format s as as as as subaddress low data- word 1, byte 1 data- word 1, byte 2 data- word 2, byte 1 data- word 2, byte 2 as as as p subaddress high chip address, r/w = 0 05798-023 figure 23. burst mode i 2 c write format s as as as s subaddress low am am as data byte 1 data byte 2 data byte n p subaddress high chip address, r/w = 0 chip address, r/w = 1 05798-024 figure 24. single-word i 2 c read format s as as as s subaddress low am as data- word 1, byte 1 am data- word 1, byte 2 p subaddress high chip address, r/w = 0 chip address, r/w = 1 05798-025 figure 25. burst mode i 2 c read format
adau1702 data sheet rev. d | page 26 of 52 spi port by default, the adau1 702 is in i 2 c mode, but it can be put into spi control mode by pulling clatch/wp low three times. the spi port uses a 4 - wire interface, consisting of clatch, cclk, cdata, and cout signals , and is always a slave port . the clatch signal should go low at the beginning of a transaction and high at the end of a trans action. the cclk signal latches cdata during a low - to - high transition. cout data is shifted out of the adau1702 on the falling edge o f cclk and should be clocked into a receiving device, such as a microcontroller, on the cclk rising edge. the cdata signal carries the serial input data, and the cout signal is the serial output data. the cout signal remains three - stated until a read opera tion is requested. this allows other spi - compatible peripherals to share the same readback line. all spi transactions have the same basic format shown in table 17 . a timing diagram is shown in figure 3 . write a ll data msb first. the adau1702 cannot be taken out of spi mode without a full reset. chip address r/ w the first byte of an spi transaction includes the 7 - bit chip address and a r/ w bit. the chip address is set by the addr0 pin. this allows two adau1702 s to share a clatch signal, yet continue to operate independently. when ad dr0 is low, the chip address is 0000000; when it is high, the address is 0000001 (see table 16 ). the lsb of this first byte determines whether the spi trans - action is a read (logic level 1) or a write (logic level 0). table 16. adau1702 spi address byte format bit 0 bit 1 bit 2 bit 3 bit 4 bit 5 bit 6 bit 7 0 0 0 0 0 0 addr0 r/ w subaddress the 12 - bit subaddress wor d is decoded into a location in one of the memorie area s or registers. this subaddress is the location of the appropr iate ram location or register. the msbs of the subaddress are zero padded to bring the word to a full two - byte length. data bytes the numb er of data bytes varies according to the register or memory being accessed. during a burst mode write, an initial subaddress is written followed by a continuous sequence of data for consecutive memory/register locations. the detailed data format for contin uous mode operation is shown in table 21 and table 23 in the read/write data formats section. a sample timing diagram for a single - write spi operation to the paramete r ram is shown in figure 26 . a sa mple timing diagram of a single - read spi operation is shown in figure 27 . the cout pin goes from three - state to being driven at the beginning of byte 3. in this example, byte 0 to byte 2 contain the addresses , and the r/ w bit and subsequent bytes carry the data. table 17 . generic control word format byte 0 byte 1 byte 2 byte 3 byte 4 1 chip_adr[6:0], r/ w 0000, subadr[11:8] subadr[7:0] data data 1 continues to end of data. c l a t c h c c l k c d a t a b y t e 0 b y t e 1 b y t e 2 b y t e 3 05798-026 figure 26 . spi write to adau1702 clocking (single - write mode) clatch cclk cdata cout byte 0 byte 1 high-z data data high-z byte 2 05798-027 figure 27 . spi rea d from adau1702 clocking (single - read mode)
data sheet adau1702 rev. d | page 27 of 52 self - boot on power - up, the adau1702 can load a program and a set of parameters that have been saved in an external eeprom. combined with the auxiliary adc and the multipurpose pins, this eliminates the need for a microcontroller in the system. the self - booting is accomplished by the adau1702 acting as a master on the i 2 c bus on startup , which occurs when the selfboot pin is set high. the adau1702 cannot self - boot in spi mode. the maximum necessary eeprom si ze for program and para - meters is 6688 bytes, or just over 6 .5 kb. this does not include register settings or overhead bytes, but such factors do not add a significant number of bytes. this much memory is only needed if the program ram ( 512 five bytes), parameter ram (1024 four bytes), and interface registers (8 four bytes) are completely full. most applications do not use the full program and parameter rams, thus, a n 8 kb eeprom should be sufficient . a self - boot operation is triggered on the rising edge of reset when the selfboot and wp pins are set high. the adau1702 reads the program, parameters, and register settings from the eeprom. after the adau1702 finishe s self - booting, additional messages can be sent to the adau1702 on the i 2 c bus, although t his typically is not necessary in a self - b ooting application. in self - boot mode, t he i 2 c device address is 0x68 for a write and 0x69 for a read. the addrx pins have different functions when the chip is in this mode, so the settings on them can be ignored. the adau1702 does not self - boot if wp is set low. holding this pin low allows the eeprom to be programmed in - circuit. the wp pin is pulled low (it typically has a resistor pull - up) to enable writes to the eeprom , but t his in turn di sables the self - boot function until the wp pin is returned high . the adau1702 is a master on the i 2 c bus during self - boot and write back. although it is uncommon for an application using self - boot to also have a microcontroller connected to the control lines, care should be taken that no other device tries to write to the i 2 c bus during self - boot or writeback. the adau1702 generat es scl at 8 f s ; therefore, for a f s of 48 khz , scl runs at 384 khz. scl has a duty cycle of 3/8 in accordance with the i 2 c specification. the adau1702 reads from eeprom c hip address 0xa 1. the lsbs of the addresses of some eeproms are pin configurable; in most cases , these pins should be tied low to set this address. eeprom format the eeprom data contains a sequence of messages. each discrete message is one of the seven types defined in table 18 and consists of a sequence of one or more bytes. the first byte identifies the message type. bytes are written msb first. most messages are block write (0x01) types, which are used for writing to the adau1702 program ram, parameter ram, and control registers. the body of the message following the message type should start with a 0x00 byte ; this is the chip address. as with all other control port transactions, f ollowing the chip address is a two - byt e register/memory address field . figure 28 shows an example of what should be stored in the eeprom, starting with eeprom address 0. in this example, the interface registers are first set to control port write mode (line 1), which is followed by 18 no operation ( no op ) bytes (line 2 to line 4) so that the interface register data appears on page 2 of the eeprom. next , follows the write header (line 4) and then 32 bytes of interface register da ta (line 5 to line 8). finally, the program ram data, star ting at address 0x04 , 0x00 is written (line 9 to line 11). in this example, the program length is 70 words, or 350 bytes ; therefore, 332 additional bytes are included in the eeprom but are not shown in figure 28. write b ack a writeback occurs when the wb pin is triggered and data is written to the eeprom from the adau1702 . this function is typically used to sav e the volume setting and other parameter settings to the eeprom immediately prior to power being removed from the system. a rising edge on the wb pin triggers a writeback when the device is in self - boot mode, unless a messag e to s et the wb to the f alling e dge s ensitive (0x05) is contained in the self - boot message sequence. only one writeback takes place unless a message to s et m ultiple w rite b ack s (0x04) is contained in the self - boot message sequence. the wp pin is pulled low when a writeback is triggered to allow writing to the eeprom. the adau1702 is only capable of writing back the contents of the interface registers to the eeprom. these registers are usually set by the dsp program, but can also be written to directly after setting bit 6 of the core control register. the parameter settings that the user wants to save are configured in sigmastudio.
adau1702 data sheet rev. d | page 28 of 52 the writeback function writes data from the adau1702 interface registers to the second page of the self - boot eeprom, address 32 to address 63. starting at eeprom address 26 (so that the interface register data begins at address 32), the eeprom should be programmed with six bytes the me ssage byte (0x01), two length bytes, the chip address (0x00), and the two - byte subaddress fo r the interface registers (0x08 0x00). there must be a message to the dsp core control register to enable writing to the interface registers prior to the interface register data in the eeprom ; store t his in eeprom address 0. no op messages (0x03) can be used in between messages to ensure that these conditions are met. the adau1702 writes to eeprom chip address 0xa0. the lsbs of the addresses of some eeproms are pin configurable; in most cases, these pins should be tied low to set the address to 0xa0. the maximum number of bytes that is written back from the adau1702 is 35 (eight four - byte interface registers plus three bytes of eeprom - addressing overhead). with scl running at 384 khz, the writeback op eration takes approximately 73 s to complete after being triggered. ensure that sufficient power is available to the system to allow enough time for a writeback to complete, especially if the wb signal is triggered from a falling decreasing power supply v oltage. table 18 . eeprom message types message id message type following bytes 0x00 end none 0x01 write two bytes indicating message length followed by appropriate number of data bytes 0x02 delay two bytes for delay 0x03 no ope ration executed none 0x04 set multiple writeback none 0x05 set wb to falling edge sensitive none 0x06 end and wait for writeback none 0x01 0x00 0x05 0x00 0x08 0x1c 0x00 0x40 write length device address core control register address core control register data 0x01 0x001 0x61 0x00 0x04 0x00 0x00 0x00 write length device address program ram address program ram data 0x00 0x00 0x01 0x00 0x00 0x00 0xe8 0x01 program ram data 0x00 0x00 0x00 0x00 0x01 0x00 0x08 0x00 program ram data (continues for 332 more bytes) 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 interface register data 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 interface register data 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 interface register data 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 interface register data 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 no-op bytes 0x03 0x03 0x03 0x03 0x03 0x03 0x03 0x03 no-op bytes 0x03 0x03 0x01 0x00 0x23 0x00 0x08 0x00 length device address interface register address write no-op bytes 05798-039 figure 28 . eeprom data example
data sheet adau1702 rev. d | page 29 of 52 signal processing the adau1702 is designed to provide all audio signal processing functions commonly used in stereo or multichannel playback systems. the signal processing flow is designed using the sigmastudio software, which allows graphical ent ry and real - time control of all signal processing functions. many of the signal processing functions are coded using full, 56- bit, double precision arithmetic data . the input and output word lengths of the dsp core are 24 bits. four extra headroom bits ar e used in the processor to allow internal gains of up to 24 db without clipping. additional gains can be achieved by initially scaling down the input signal in the dsp signal flow. numeric formats dsp systems commonly use a standard numeric format. fractio nal number systems are specified by an a.b format, where a is the number of bits to the left of the decimal point and b is the number of bits to the right of the decimal point. the adau1702 u ses the same numeric format for both the parameter and data v alues. the format follows in the numerical format: 5.23 section. numerical format: 5.23 linear range: ?16.0 to (+16.0 ? 1 lsb) examples: 1000 0000 0000 0000 0000 0000 00 00 = ?16.0 1110 0000 0000 0000 0000 0000 0000 = ?4.0 1111 1000 0000 0000 0000 0000 0000 = ?1.0 1111 1110 0000 0000 0000 0000 0000 = ?0.25 1111 1111 0011 0011 0011 0011 0011 = ?0.1 1111 1111 1111 1111 1111 1111 1111 = (1 lsb below 0.0) 0000 0000 0000 0000 0 000 0000 0000 = 0.0 0000 0000 1100 1100 1100 1100 1101 = 0.1 0000 0010 0000 0000 0000 0000 0000 = 0.25 0000 1000 0000 0000 0000 0000 0000 = 1.0 0010 0000 0000 0000 0000 0000 0000 = 4.0 0111 1111 1111 1111 1111 1111 1111 = (16.0 ? 1 lsb). the serial port ac cepts up to 24 bits on the input and is sign - extended to the full 28 bits of the dsp core. this allows internal gains of up to 24 db without internal clipping. a digital clipper circuit is used between the output of the dsp core and the dacs or serial por t outputs (see figure 29 ). this clips the top four bits of the signal to produce a 24 - bit output with a range of 1.0 (minus 1 lsb) to ?1.0. figure 29 shows the maximum signal levels at each point in the data flow in both binary and decibel levels. 4-bit sign extension data in 1.23 (0db) 1.23 (0db) 1.23 (0db) 5.23 (24db) 5.23 (24db) serial port signal processing (5.23 format) digital clipper 05798-028 figure 29 . numeric precision and clipping structure programming on power - up, the adau1702 default program passes the unprocessed input signals to the outputs (shown in figure 13 ), but the outputs are muted by default (see the power - up sequence section). there are 512 instruction cycles per audio sample, resulting in about 25 mips available. the sigma dsp runs in a stream - oriented manner, meaning that all 512 instructions are executed each sample period. the adau1702 can also be set up to accept double - or quad - speed inputs by reducing the number of instructions per sample that are set in the core control register. the part can be easily programmed using sigmastu dio ( figure 30 ), a graphical tool provided by analog devices. no knowledge of writing line - level dsp code is required. more information about sigmastudio can be found at www.analog.com . 05798-029 fi gure 30 . sigmastudio screen shot
adau1702 data sheet rev. d | page 30 of 52 rams and registers table 19 . ram map and read/write modes memory size address range read write write modes parameter ram 1024 32 0 to 1023 (0x0000 to 0x03ff) yes yes direct write 1 safeload write program ram 512 40 1024 to 1535 (0x0400 to 0x0 5 ff ) yes yes direct write 1 reserved not applicable 1536 to 2047 (0x0600 to 0x07ff) 2 no no not applicable 1 internal registers should be cleared first to avoid clicks/pops. 2 addr esses 1536 to 2047 (0x0600 to 0x07ff) are reserved ram locations and data cannot be written to them. address maps table 19 shows the ram map whereas table 30 shows the adau1702 regist er map. the address space encompasses a set of registers and two rams: one holds sig nal processing parameters and the other holds the program instructions. the program ram and parameter ram are initialized on power - up from on - board boot roms (see the power - up sequence section) . all rams and registers have a de fault value of all 0 s, except for the program ram, which is loaded with the default program (see the initialization section). parameter ram the parameter ram is 32 bits wide and occupies address 0 to address 1023. each paramet er is padded with four 0s before the msb to extend the 28 - bit word to a full 4 - byte width. the parameter ram is initialized to all 0s on power - up. the data format of the parameter ram is twos complement, 5.23 . this means that the coefficients can range fr om +16.0 (minus 1 lsb) to ?16.0, with 1.0 represented by the binary word , 0000 1000 0000 0000 0000 0000 0000, or by the hexadecimal word , 0x00 0x80 0x00 0x00. the parameter ram can be written using one of the two following methods : a direct read/write or a safeload write . direct read/write th e direct read/write method allows direct access to the program ram and parameter ram. this mode of operation is typically used when loading a new ram using burst mode addressing. the clear registers bit in the core c ontrol register should be set to 0 using this mode to prevent any clicks or pops in the outputs. note that this mode can be used during live program execution, but because there is no handshaking between the core and the control port, the parameter ram is unavailable to the dsp core during control writes, resulting in clicks and pops in the audio stream. safeload write up to five safeload registers can be loaded with the parameter ram address and data. the data is then transferred to the requested address w hen the ram is not busy. this method can be used for dynamic updates while live program material is playing through the adau1702 . for example, a complete update of one biquad secti on can occu r in one audio frame while the ram is not busy. this method is not available for writing to the program ram or control registers. data ram the adau1702 data ram is used to store audio data - w ords for processing. for the most part, this process is transparent to the user . t he user cannot address this ram space , which has a size of 0.5k wo rds, directly from the control port. data ram utilization should be considered when implementing blocks tha t require large amounts of data ram space, such as delays. the sigmadsp core processes delay times in one sample increments ; therefore, the total pool of delay available to the user equals 512 multiplied by the sample period. for a f s of 48 khz, the pool o f available delay is a maximum of about 1 0 ms. in practice, this much data memory is not available to the user because every block in a design uses a few data memory locations for its processing. in most dsp programs, this does not signifi - cantly impact th e total delay time. the sigmastudio compiler manages the data ram and indicates if the number of addresses needed in the design exceeds the maximum available. read/write data form ats the read/write formats of the control port are designed to be byte orien ted. this allows easy programming of common microcontroller chips. to fit into a byte oriented format, 0s are appended to the data fields before the msb to extend the data - word to eight bits. for example, 28 - bit words written to the parameter ram are appen ded with four leading 0s to equal 32 bits ( four bytes); 40 - bit words written to the program ram are not appended with 0s because they are already a full five bytes. these zero padded data fields are appended to a 3 - byte field consisting of a 7 - bit chip ad dress, a read/write bit, and an 11 - bit ram/register address. the control port knows how many data bytes to expect based on the address given in the first three bytes. the total number of bytes for a single location write command can vary from four bytes (f or a control register write) to eight bytes (for a program ram write). burst mode can be used to fill contiguous register or ram locations. a burst mode write begins by writing the address and data of the first ram or register location to be written. rathe r than ending the control port transaction (by issuing a stop command in i 2 c mode or by bringing the clatch signal high in spi mode after the data - word), as is done in a single address write, the next data - word can be immediately written without specifying its address. the adau1702 control port auto - incre ments the address of each write even across the boundaries of the different rams and registers. table 21 and table 23 show examples of burst mode writes.
data sheet adau1702 rev. d | page 31 of 52 table 20 . parameter ram read/write format (single address) byte 0 byte 1 byte 2 byte 3 bytes [ 4 : 6 ] chip_adr [ 6:0], w /r 00000 0 , param_a dr [ 9 :8] param_adr [ 7:0] 0000, param [ 27:24] param [ 23:0] table 21 . parameter ram block read/write format (burst mode) byte 0 byte 1 byte 2 byte 3 bytes [ 4 : 6 ] byte s [ 7 : 10 ] byte s [ 11 : 14 ] chip_adr [ 6:0], w /r 00000 0 , param_adr [ 9 :8] param_adr [ 7:0] 0000, param [ 27:24] param [ 23:0] < param_adr > param_adr + 1 param_adr + 2 table 22 . program ram read/write format (single address) byte 0 byte 1 byte 2 bytes [ 3 : 7 ] chip_adr [ 6:0], w /r 000 00, prog_adr [ 1 0 :8] prog_adr [ 7:0] prog [ 39:0] table 23 . program ram block read/write format (burst mode) byte 0 byte 1 byte 2 byte s [ 3: 7 ] byte s [ 8 :12 ] byte s [ 13 :17 ] chip_adr[6:0], w /r 00000, prog_adr[10:8] prog_adr[7:0] prog[39:0] < prog_adr > prog_adr + 1 prog_adr + 2 table 24 . control register read/write format (core, serial out 0, serial out 1) byte 0 byte 1 byte 2 byte 3 byte 4 chip_adr[6 :0], w /r 0000, reg_adr[11:8] reg_adr[7:0] d ata [15:8] d ata [7:0] table 25 . control register read/write format (ram configuration, serial input) byte 0 byte 1 byte 2 byte 3 chip_adr[6:0], w /r 0000, reg_adr[11:8] reg_adr[7:0] d ata [7:0] table 26 . data capture register write format byte 0 byte 1 byte 2 byte 3 byte 4 chip_adr[6:0], w /r 0000, data_capture_adr[11:8] data_captur e_adr[7:0] 000, progcount[10:6] 1 progcount[5:0] 1 , regsel[1:0] 2 1 p rogcount [ 10:0] is the value of the program counter when the data capture occurs ( the table of values is generated by the sigmastudio compiler). 2 r egsel [ 1:0 ] selects one of four registers (see the 2074 to 2075 (0x081a to 0x081b) data capture registers section) . table 27 . data capture (control port readback) register read format byte 0 byte 1 byte 2 bytes [ 3 : 5 ] chip_adr [ 6:0], w /r 0000, data_capture_adr [ 11:8] data_capture_adr [ 7:0] d ata [ 23:0] table 28 . safeload address register write format byte 0 byte 1 byte 2 byte 3 byte 4 chip_adr [ 6:0], w /r 0000, safelo ad_adr [ 11:8] safeload_adr [ 7:0] 000000, param_adr[ 9:8] param_adr [ 7:0] table 29 . safeload data register write format byte 0 byte 1 byte 2 byte 3 byte 4 bytes [ 5 : 7 ] chip_adr [ 6:0], w /r 0000, safeload_adr [ 11:8] safeload_adr [ 7:0] 00000000 0000, d ata [ 27:24] d ata [ 23:0]
adau1702 data sheet rev. d | page 32 of 52 control register map table 30 . register map 1 msb lsb register no. d39 d38 d37 d36 d35 d34 d33 d32 address of d31 d30 d29 d28 d27 d26 d25 d24 d23 d22 d21 d20 d19 d18 d17 d16 hex dec bytes name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x0800 2048 4 interface 0[31:16] 0 0 0 0 if27 if26 if25 if24 if23 if22 if21 if20 if19 if18 if17 if16 0x 0000 interface 0[15:0 ] if15 if14 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0801 2049 4 interface 0[31:16] 0 0 0 0 if27 if26 if25 if24 if23 if22 if21 if20 if19 if18 if17 if16 0x0000 interface 0[15:0] if15 if14 if13 if12 if11 if10 if09 i f08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0802 2050 4 interface 0[31:16] 0 0 0 0 if27 if26 if25 if24 if23 if22 if21 if20 if19 if18 if17 if16 0x0000 interface 0[15:0] if15 if14 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0803 2051 4 interface 0[31:16] 0 0 0 0 if27 if26 if25 if24 if23 if22 if21 if20 if19 if18 if17 if16 0x0000 interface 0[15:0] if15 if14 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0804 2052 4 interface 0[31:16] 0 0 0 0 if27 if26 if25 if24 if23 if22 if21 if20 if19 if18 if17 if16 0x0000 interface 0[15:0] if15 if14 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0805 2053 4 interface 0[31:16] 0 0 0 0 if27 if26 if25 if24 i f23 if22 if21 if20 if19 if18 if17 if16 0x0000 interface 0[15:0] if15 if14 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0806 2054 4 interface 0[31:16] 0 0 0 0 if2 7 if26 if25 if24 if23 if22 if21 if20 if19 if18 if17 if16 0x0000 interface 0[15:0] if15 if14 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0807 2055 4 interface 0[31:16] 0 0 0 0 if27 if26 if25 if24 if23 if22 if21 if20 if19 if18 if17 if16 0x0000 interface 0[15:0] if15 if1 4 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 0x0808 2056 2 gpio pin setting 0 0 0 0 mp11 mp10 mp09 mp08 mp07 mp06 mp05 mp04 mp03 mp02 mp01 mp00 0x0000 0x0809 2057 2 auxiliary adc data 0 0 0 0 0 aa11 aa10 aa09 aa08 aa07 a a06 aa05 aa04 aa03 aa02 aa01 aa00 0x0000 0x080a 205 8 2 auxiliary adc data 1 0 0 0 0 aa11 aa10 aa09 aa08 aa07 aa06 aa05 aa04 aa03 aa02 aa01 aa00 0x0000 0x080b 2059 2 auxiliary adc data 2 0 0 0 0 aa11 aa10 aa09 aa08 aa07 aa06 aa05 aa04 aa03 aa02 aa01 aa00 0x0000 0x080c 2060 2 auxiliary adc data 3 0 0 0 0 aa11 aa10 aa09 aa08 aa07 aa06 aa05 aa04 aa03 aa02 aa01 aa00 0x0000 0x080d 2061 5 reserved[39:32] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x00 reserved[31:16] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd r svd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 reserved[15:0] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 0x080e 2062 5 reserved[39:32] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x00 reserved[31:16] rsvd rs vd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 reserved[15:0] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 0x080f 2063 5 reserved[39:32] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsv d 0x00 reserved[31:16] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 reserved[15:0] rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 0x0810 2064 5 safeload data 0[39:32 ] sd39 sd38 sd37 sd36 sd35 sd34 sd33 sd32 0x00 safeload data 0[31:16] sd31 sd30 sd29 sd28 sd27 sd26 sd25 sd24 sd23 sd22 sd21 sd20 sd19 sd18 sd17 sd16 0x0000 safeload data 0[15:0] sd1 5 sd14 sd13 sd12 sd11 sd10 sd09 sd08 sd07 sd06 sd05 sd04 sd03 sd0 2 sd01 sd00 0x0000 0x0811 2065 5 safeload data 1[39:32] sd39 sd38 sd37 sd36 sd35 sd34 sd33 sd32 0x00 safeload data 1[31:16] sd31 sd30 sd29 sd28 sd27 sd26 sd25 sd24 sd23 sd22 sd21 sd20 sd19 sd18 sd17 sd16 0x0000 safeload data 1[15:0] sd15 sd14 sd1 3 sd12 sd11 sd10 sd09 sd08 sd07 sd06 sd05 sd04 sd03 sd02 sd01 sd00 0x0000 0x0812 2066 5 safeload data 2[39:32] sd39 sd38 sd37 sd36 sd35 sd34 sd33 sd3 2 0x00 safeload data 2[31:16] sd31 sd30 sd29 sd28 sd27 sd26 sd25 sd24 sd23 sd22 sd21 sd20 sd19 sd18 s d17 sd16 0x0000 safeload data 2[15:0] sd15 sd14 sd13 sd12 sd11 sd10 sd09 sd08 sd07 sd06 sd05 sd04 sd03 sd02 sd01 sd00 0x0000 0x0813 2067 5 safeload data 3[39:32] sd39 sd38 sd37 sd36 sd35 sd34 sd33 sd32 0x00 safeload data 3[31:16] sd31 sd30 sd29 s d28 sd27 sd26 sd25 sd24 sd23 sd22 sd21 sd20 sd19 sd18 sd17 sd16 0x0000 safeload data 3[15:0] sd15 sd14 sd13 sd12 sd11 sd10 sd09 sd08 sd07 sd06 sd05 sd04 sd03 sd02 sd01 sd00 0x0000 0x0814 2068 5 safeload data 4[39:32] sd39 sd38 sd37 sd36 sd35 sd34 sd3 3 sd32 0x00 safeload data 4[31:16] sd31 sd30 sd29 sd28 sd27 sd26 sd25 sd24 sd23 sd22 sd21 sd20 sd19 sd18 sd17 sd16 0x0000 safeload data 4[15:0] sd15 sd14 sd13 sd12 sd11 sd10 sd09 sd08 sd07 sd06 sd05 sd04 sd03 sd02 sd01 sd00 0x0000 0x0815 2069 2 sa feload address 0 0 0 0 0 sa11 sa10 sa09 sa08 sa07 sa06 sa05 sa04 sa03 sa02 sa01 sa00 0x0000 0x0816 2070 2 safeload address 1 0 0 0 0 sa11 sa10 sa09 sa08 sa07 sa06 sa05 sa04 sa03 sa02 sa01 sa00 0x0000 0x0817 2071 2 safeload address 2 0 0 0 0 sa11 sa10 sa0 9 sa08 sa07 sa06 sa05 sa04 sa03 sa02 sa01 sa00 0x0000 0x0818 2072 2 safeload address 3 0 0 0 0 sa11 sa10 sa09 sa08 sa07 sa06 sa05 sa04 sa03 sa02 sa01 sa00 0x0000 0x0819 2073 2 safeload address 4 0 0 0 0 sa11 sa10 sa09 sa08 sa07 sa06 sa05 sa04 sa03 sa02 s a01 sa00 0x0000 0x081a 2074 2 data capture 0 0 0 0 0 pc09 pc08 pc07 pc06 pc05 pc04 pc03 pc02 pc01 pc00 rs01 rs00 0x0000 0x081b 2075 2 data capture 1 0 0 0 0 pc09 pc08 pc07 pc06 pc05 pc04 pc03 pc02 pc01 pc00 rs01 rs00 0x0000 0x081c 2076 2 dsp core contro l rsvd rsvd gd1 gd0 rsvd rsvd rsvd aacw gpcw ifcw ist adm dam cr sr1 sr0 0x0000 0x081d 2077 1 reserved rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x00 0x081e 2078 2 serial output control 0 0 olrp obp m/s obf1 obf0 olf1 olf0 fst tdm msb2 msb1 msb0 owl1 owl0 0x0000 0x081f 2079 1 serial input control 0 0 0 ilp ibp m2 m1 m0 0x00
data sheet adau1702 rev. d | page 33 of 52 msb lsb register no. d39 d38 d37 d36 d35 d34 d33 d32 address of d31 d30 d29 d28 d27 d26 d25 d24 d23 d22 d21 d20 d19 d18 d17 d16 hex dec bytes name d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0x0820 2080 3 mp pin config. 0[23:16] mp53 mp52 mp51 mp50 mp43 mp42 mp41 mp40 0x00 mp pin config. 0[15:0] mp33 mp32 mp31 mp30 mp23 mp22 mp21 mp20 mp13 mp12 mp11 mp10 mp03 mp02 mp01 mp00 0x0000 0x0821 2081 3 mp pin config. 1[23:16] mp113 mp112 mp111 mp110 mp103 mp102 mp101 mp100 0x00 mp pin config. 1[15:0] mp93 mp92 mp91 mp90 mp83 mp82 mp81 mp80 mp73 mp72 mp71 mp70 mp63 mp62 mp61 mp60 0x0000 0x0822 2082 2 auxiliary adc and p ower rsvd rsvd rsvd rsvd rsvd rsvd fil1 fil0 aapd vbpd vrpd rsvd d0pd d1pd d2pd d3pd 0x0000 c ontrol 0x0823 2083 2 reserved rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 0x0824 2084 2 auxilia ry adc e nable aaen rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 0x0825 2085 2 reserved rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0000 0x0826 2086 2 oscillator power - dow n rsvd rs vd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd opd rsvd rsvd 0x0000 0x0827 2087 2 dac s etup rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd ds1 ds0 0x0000 1 shading indicates that registers do not fill these locations; therefore, control bits do not exist in these locations.
adau1702 data sheet rev. d | page 34 of 52 control register det ails address 2048 to address 2055 (0 x 0800 t o 0 x 0807) interface registers the interface registers are used in self - boot mode to save parameters that need to be written to the external eeprom. the adau1702 then recalls these parameters from the eeprom after the next reset or power - up. therefore , system parameters such as volume and eq settings can be saved during power - down and recalled the next time the system is turned on. there are eight 32 - bit interface registers, which allow eight 28 - bit (plus zero padding) parameters to be saved. the parameters to be saved in these registers are selected in the graphical programming tools. these registers are updated with their corresponding parameter ram data once per sample period. an edge, whic h can be set to be either rising or falling, triggers the adau1702 to write the current contents of the interface registers to the eeprom. see the self - boot sectio n for details. the user can write directly to the interface registers after the interface registers control port write mode (ifcw) in the dsp core control register has been set. in this mode, the data in the registers is written from the control port , not from the dsp core. table 31. interface register bit map d31 d30 d29 d28 d27 d26 d25 d24 d23 d22 d21 d20 d19 d18 d17 d16 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0 0 0 0 if27 if26 if25 if24 if23 if22 if21 if 20 if19 if18 if17 if16 0x0000 if15 if14 if13 if12 if11 if10 if09 if08 if07 if06 if05 if04 if03 if02 if01 if00 0x0000 table 32. bit name description if [ 27:0] interface register 28 - bit parameter
data sheet adau1702 rev. d | page 35 of 52 address 2056 (0 x 0 808) gpio p in s etting register this register allows the user to set the gpio pins through the control port. high or low settings can be di rectly written to or read from this register after setting the gpio pin to set the register control port write (gpcw) mode in the c or e c ontrol r egister. this register is updated once every lrclk frame (1/f s ). table 33. gpio pin setting register bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0 0 0 0 mp11 mp10 mp09 mp08 mp07 mp06 mp05 mp04 mp03 mp02 mp01 mp00 0x0000 table 34. bit name description mp [ 11:0] setting of multipurpose pin when controlled through spi or i 2 c
adau1702 data sheet rev. d | page 36 of 52 address 2057 to address 2060 (0 x 0 809 to 0 x 0 80c) auxiliary adc data r egisters these regis ters hold the data generated by the 4 - channel auxiliary adc . the adcs have eight bits of precision and can be extended to 12 bits if filtering is selected via b its fil [ 1:0] of the a uxiliary adc and p ower c ontrol register. the sigmadsp program reads this da ta as a 1.11 format data - word with a range of 0 to 1.0 . this data - word is mapped to the 5.23 format parameter word with the four msbs and 12 lsbs set to 0 . a full - scale code of 255 result s in a value of 1.0 i n 5.23 format . these registers can be written to directly if the auxiliary adc data registers control port write (aacw) mode bit is set in the dsp c ore c ontrol register. table 35. auxiliary adc data register bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0 0 0 0 aa11 aa10 aa09 aa08 aa07 aa06 aa05 aa04 aa03 aa02 aa01 aa00 0x0000 table 36. bit name description aa[ 11:0] auxiliary adc output data, msb first
data sheet adau1702 rev. d | page 37 of 52 address 2064 to address 2068 (0 x 0810 to 0 x 0 814) safeload data regist ers many applications require real - time microcontroller control of signal processing parameters, such as filter coefficients, mixer gains, multichannel virtualizing parameters, or dynamics processing curves. when controlling a biquad filter, for example, all of the parameters must be updated at the same time. doing so prevents the filter from executing with a mix of old and new coefficients for one or two audio frames, thus avoiding temporary instability and transients that m ay take a long time to decay. to ac complish this , the adau1702 uses safeload data registers to simultaneously load a set of five 28 - bit values to the desired parameter ram address . five registers are used because a biqua d filt er uses five coefficients and, as previously mentioned, it is desirable to do a complete update in one transaction. the first step in performing a safeload operation is writing the parameter address to one of the s afeload a ddress registers ( address 2069 t o address 2073). the 10 - bit data - word to be written is the address in parameter ram to which the safeload is being performed. after this address is written, the 28 - bit data - word can be written to the corresponding sa feload d ata register ( address 2064 to ad dress 2068). the data formats for these writes are detailed in table 28 and table 29. table 37 shows how each of the five address registers map s to its corresponding data re gister . after the address and data registers are loaded, set the i nitiate s afeload t ransfer bit in the core control register to initiate the loading into ram. each of the five safeload registers takes one of the 512 core instructions to load into the param eter ram. the total program lengths should , therefore , be limited to 507 cycles ( 512 minus 5) to ensure that the sigmadsp core always has at least five cycles available . the safeload is guaranteed to occur within one lrclk period (21 s for a f s of 48 khz) of the i nitiate s afeload t ransfer bit being set. the safeload logic automatically sends data to be loaded into ram from only those safeload registers that have been written to since the last safeload operation. for example, if two parameters are to be up dated in the ram , only two of the five safeload registers must be written. when the initiate safeload transfer bit is asserted, only data from those two registers are sent to the ram ; the other three registers are not sent to the ram and may hold old or in valid data. table 37 . safeload address and data register mapping safeload register safeload address register safeload data register 0 2069 2064 1 2070 2065 2 2071 2066 3 2072 2067 4 2073 2068 table 38. safeload registers bit map d39 d38 d37 d36 d35 d34 d33 d32 d31 d30 d29 d28 d27 d26 d25 d24 d23 d22 d21 d20 d19 d18 d17 d16 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default sd39 sd38 sd37 sd36 sd35 sd34 sd33 sd32 0x00 sd31 sd30 sd29 sd28 sd27 sd26 sd25 sd24 sd23 sd22 sd21 sd20 sd19 sd18 sd17 sd16 0x0000 sd15 sd14 sd13 sd12 sd11 sd10 sd09 sd08 sd07 sd06 sd05 sd04 sd03 sd02 sd01 sd00 0x0000 table 39. bit name description sd [ 39:0] safeload d a ta . data (program, parameters, and register contents) to be loaded into the ram s or registers . address 2069 to address 2073 (0 x 0815 to 0 x 0 819) sa feload address regis ters table 40. safeload address registers bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0 0 0 0 sa11 sa10 sa09 sa08 sa07 sa06 sa05 sa04 sa03 sa02 sa01 sa00 0x0000 table 41. bit name description sa [ 11:0] safeload a ddress . address of data that is to be loaded into the ram s or registers .
adau1702 data sheet rev. d | page 38 of 52 address 2074 to address 2075 (0 x 081a to 0 x 081b) data capture registe rs the adau1702 data capture feature allows the data at any node in the signal processing flow to be sent to one of two readable registers . this feature is useful for monitoring and displaying information about internal signal levels or compressor/limiter activity. for each of the data capture registers, a capture count and a register select must be set. the capture count is a number between 0 and 1023 that corresponds to the program step number where the capture is to occur. the register select field programs one of four registers in the dsp core that transfers this information to the data capture regist er when the program counter reaches this step. the captured data is in 5.19, twos complement data format, which comes from the internal 5.23 data - word with the four lsbs truncated. the data that must be written to set up the data capture is a concatenati on of the 10 - bit program count index with the 2 - bit register select field. the capture count and register select values that correspond to the desired point to be monitored in the signal processing flow can be found in a file output from the program compil er. the capture registers can be accessed by reading from location 2074 and location 2075. the format for writing and reading to the data capture registers is shown in table 26 and table 27. table 42. safeload data registers bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0 0 0 0 pc09 pc08 pc07 pc06 pc05 pc04 pc03 pc02 pc01 pc00 rs01 rs00 0x0000 table 43. bit name description pc [ 9:0] 10- bit program counter address rs [ 1:0] select the register to be transferred to the data capture output setting function 00 multiplier x i nput ( mult_x_input ) 01 multiplier y i nput ( mult_y_input ) 10 multiplier a ccumulator o utput (mac_ o ut ) 1 1 accumulator f eedback ( accum_fback )
data sheet adau1702 rev. d | page 39 of 52 address 2076 (0 x 081c) dsp core control reg ister table 44. dsp core control register bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default rsvd rsvd gd1 gd0 rsvd rsvd rsvd aacw gpcw ifcw ist adm dam cr sr1 sr0 0x0000 table 45 . dsp core control register bit name description gd [ 1:0] gpio debounce co ntrol . these bits s et the debounce time of the multipurpose pins , which are set as gpio inputs. setting ti me (ms) 00 20 01 40 10 10 11 5 aacw auxiliary adc data registers control port write mode . setting this bit allows data to be written directly to the a ux iliary adc d ata registers ( address 2057 to address 2060) from the control port. when this b it is set, the a ux iliary adc d ata registers ignore the settings on the multipurpose pins. gpcw gpio pin set ting register control port write mode. when this bit is set, the gpio p in s etting register ( address 2056 ) can be written to directly from the contr ol port and this register ignores the input settings on the multi - purpose pins. ifcw interface registers control port write m ode . when this bit is set, data can be written directly to the i nterface registers ( address 2048 to address 2055) from the contro l p ort. in that state, the i nterface registers are not written from the sigmadsp program. ist initiate safeload transf er . setting this bit to 1 initiates a safeload transfer to the parameter ram. this bit is automatically cleared when the operation is co mplete . there are five safeload register pairs (address/data); only those registers that have been written since the last safeload event are transferred to the parameter ram. adm mute adcs . this bit mutes the output of the adcs. the bit defaults to 0 and is active low ; therefore, it must be set to 1 to transmit audio signals from the adcs . dam mute dacs . this bit mutes the output of the dacs. the bit defaults to 0 and is active low ; therefore, it must be set to 1 to transmit audio signals from the dacs . cr clear internal registe rs to 0 . this bit defaults to 0 and is active low. it must be set to 1 for a signal to pass through the sigmadsp core. sr [ 1:0] sample r ate. these bits set the number of dsp instructions for every sample and the sample rate at whi ch the adau1702 operates. at the default setting of 1 , there are 512 instructions per audio sample. this setting should be used with sample rates such as 48 khz and 44.1 khz. at the 2 se tting, the number of instructions per frame is halved to 256 and the adcs and dacs nominally run at a 96 khz sample rate. at the 4 setting, there are 128 instructions per cycle and the converters run at a 192 khz sample rate. setting function 00 1 ( 512 instructions) 01 2 ( 256 instructions) 10 4 ( 128 instructions) 11 reserved
adau1702 data sheet rev. d | page 40 of 52 address 2078 (0 x 081e) serial output contro l register table 46. serial output control register bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default 0 0 olrp obp m/s obf1 obf0 olf1 olf0 fst tdm msb2 msb1 msb0 owl1 owl0 0x0000 table 47. bit name description olrp output_lrclk p olarity . when this bit is set to 0, the left channel data is c locked when output_ lrclk is low and the right channel data is clocked when output_lrclk is high. when this bit is set to 1, the right channel dat a is c locked when output_lrclk is low and the left channel data is clocked when output_lrclk is high. obp output_bclk p olarity . t his bit controls on which edge of the bit clock the output data is clocked. data changes on the falling edge of output_b clk when this bit is set to 0 , and it changes on the rising edge when this bit is set to 1. m/s master/ s lave . this bit sets whether the output port is a clock master or slave. the default setting is slave; on power - up, the output_bclk and output_lrclk pin s are set as inputs until this bit is set to 1, at which time they become clock outputs. obf [ 1:0] output_bclk frequency (master mode o nl y). when the output port is being used as a clock master, these bits set th e frequency of the output bit clock, which is divided down from an internal 1024 f s clock (49.152 mhz for a f s of 48 khz). setting function 00 internal clock/16 01 intern al clock /8 10 internal clock /4 11 internal clock /2 olf [ 1:0] output_lrclk frequency (master mode o nly) . when the output port is used as a clock master, these bits set the frequency of the output word clock on the output_lrclk pins, which is divided do wn from an internal 1024 f s clock (49.152 mhz for a f s of 48 khz). setting function 00 internal clock /1024 01 internal clock /512 10 internal clock /256 11 reserved fst frame sync typ e . this bit sets the type of signal on the output_lrclk pins. when this bit is set to 0, the signal is a word clock with a 50% duty cycle; when this bit is set to 1, the signal is a pulse with a duration of one bit clock at the beginning of the data frame. tdm tdm e n able. setting this bit to 1 changes the output por t from four serial stereo outputs to a single 8 - channel tdm output stream on the sdata_out0 pin (mp6). msb [ 2:0] msb p osition. these three bits set the position of the msb of data with respect to the lrclk edge. the data output of the adau1702 is always msb first. setting function 000 delay by 1 001 delay by 0 010 delay by 8 011 delay by 12 100 delay by 16 101 reserved 111 reserved owl [ 1:0 ] out put word le ngth. these bits set t he word length of the output data - word. all bits following the lsb are set to 0. owl [ 1:0] setting 00 24 bits 01 20 bits 10 16 bits 11 reserved
data sheet adau1702 rev. d | page 41 of 52 address 2079 (0 x 081f) serial input control register table 48. serial input con trol register bit map d7 d6 d5 d4 d3 d2 d1 d0 default 0 0 0 ilp ibp m2 m1 m0 0x00 table 49. serial input control register bit descriptions bit name description ilp input_lrclk p olarity . when this bit is set to 0, the left channel data on the sdata_inx pins is clocked when input_lrclk is low and the right channel data is clocked when input_lrclk is high. when this bit is set to 1, the clocking of these channels is reversed. in tdm mode , when this bit is set to 0, data is clocked in starting with the next appropriate bclk edge (set in bit 3 of this register) after a falling edge on the input_lrclk pin. when this bit is set to 1 and the device is running in tdm mode, the input data is valid on the bclk edge after a rising edge on the word clock (input_lrclk). input_lrclk can also operate with a pulse input, rather than a clock ; i n this case, the first edge of the pulse is used by the adau1702 to start the data frame. when this polarity bit is set to 0, use a low pulse ; when the bit it set to 1, use a high pulse. ibp input_bclk p olarity . this bit controls on which edge of the bit clock the input data changes and on which edge it is clocked. data changes on the falling edg e of input _bclk when this bit is set to 0 and on the rising edge when this bit is set at 1. m[2:0] serial input mode . these two bits control the data format that the input port expects to receive. bit 3 and bit 4 of this control register override the sett ings of bits[2:0]; therefore, all four bits must be changed together for proper operation in some modes. the clock diagrams for these modes are shown in figure 32, figure 33 , and figure 34 . note that for left - justified and right - justified modes, the lrclk polarity is high and then low, which is the opposite of the default setting for ilp. when these bits are set to accept a tdm input, the adau1702 data starts after the edge d efined by ilp. input t he adau1702 tdm data stream on pin sdata_in0. figure 35 shows a tdm stream w ith a high -to - low triggered lrclk and data changing on the falling edge of the bclk. the adau1702 expects the msb of each data slot to be delayed by one bclk from the beginning of the slot, a s it would in stereo i 2 s format. in tdm mode, channel 0 to channel 3 are in the first half of the frame, and channel 4 to channel 7 are in the second half. figure 36 shows an ex ample of a tdm stream running with a pulse word cloc k, which is used to interface to adi codecs in auxiliary mode. to work in this mode with either the input or output serial ports, set the adau1702 to begin the frame on the rising edge of lrc lk, to change data on the falling edge of bclk, and to delay the msb position from the start of the word clock by one bclk. setting function 000 i 2 s 001 left justified 010 tdm 011 right justified, 24 bits 100 right justified, 20 bits 101 righ t justified, 18 bits 110 right justified, 16 bits 111 reserved
adau1702 data sheet rev. d | page 42 of 52 address 2080 to address 2081 ( 0 x 0820 to 0 x 0821) multipurpose pin con figuration registers each multipurpose pin can be set to different functions from these registers (2080 to 2081). th e two 3 - byte registers are broken up into 12 4 - bit (nibble) sections that each control a different mp pin. table 52 lists the function of each nibble setting within the mp p in c onfiguration registers. each mp pin has a 4 - bit co nfiguration, the msb of which inverts the input to, or the output from, the pin . the internal pull - up resistor ( approx - imately 10 k) of each mp pin is enabled when it is set as a digital input (either a gpio input or a serial data port input). table 50. register 2080 bit map d23 d22 d21 d20 d19 d18 d17 d16 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default mp53 mp52 mp51 mp50 mp43 mp42 mp41 mp40 0x00 mp33 mp32 mp31 mp30 mp23 mp22 mp21 mp20 mp13 mp12 mp11 mp10 mp03 mp02 mp01 mp00 0x0000 table 51. register 2081 bit map d23 d22 d21 d20 d19 d18 d 17 d16 d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default mp113 mp112 mp111 mp110 mp103 mp102 mp101 mp100 0x00 mp93 mp92 mp91 mp90 mp83 mp82 mp81 mp80 mp73 mp72 mp71 mp70 mp63 mp62 mp61 mp60 0x0000 table 52. multipurpose configuration registers bit descriptions bit name description mpx [ 3:0] these bits s et the function of each multipurpose pin . setting function 1111 aux iliary adc input (see table 61) 1110 reserved 1101 rese rved 1100 serial data port inverted (see table 63) 1011 open - collector output inverted 1010 gpio output inverted 1001 gpio input, no debounce inverted 1000 gpio input, debounced inverted 0111 not applicable 0110 re served 0101 reserved 0100 serial data port (see table 63) 0011 open - collector output 0010 gpio output 0001 gpio input, no debounce 0000 gpio input, debounced
data sheet adau1702 rev. d | page 43 of 52 address 2082 (0 x 0822) auxiliary adc and po wer cont rol register table 53. auxiliary adc and power control register bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default rsvd rsvd rsvd rsvd rsvd rsvd fil1 fil0 aapd vbpd vrpd rsvd d0pd d1pd d2pd d3pd 0x0000 table 54. auxiliary adc and power control register bit descriptions bit name description fil [ 1:0] aux iliary adc f iltering setting function 00 4 - bit hysteresis (12 - bit level) 01 5 - bit hysteresis (12 - bit level) 10 filter and hysteres is bypassed 11 low - pass filter bypassed aapd adc power - down (both adcs) vbpd voltage reference buffer power - down vrpd voltage reference power - down d0pd dac0 power - down d1pd dac1 power - down d2pd dac2 power - down d3pd dac3 power - down address 2084 ( 0 x 0824) auxiliary adc enable register table 55. auxiliary adc enable register bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default aaen rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd 0x0 000 table 56. auxiliary adc enable register bit descriptions bit name description aaen enable the auxiliary adc address 2086 ( 0 x 0826) oscillator power - down register table 57. oscillator power - down registe r bit map d15 d14 d13 d12 d11 d10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd opd rsvd rsvd 0x0000 table 58. oscillator power - down register bit descriptions bit name desc ription opd oscillator power - d own. this bit powers down the oscillator.
adau1702 data sheet rev. d | page 44 of 52 address 2087 (0 x 0827) dac setup to pr operly initialize the dacs, set bits ds [ 1:0] in this register to 01. table 59. dac setup bit map d15 d14 d13 d12 d11 d 10 d9 d8 d7 d6 d5 d4 d3 d2 d1 d0 default rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd rsvd ds1 ds0 0x0000 table 60. bit name description ds [ 1:0] dac s etup setting function 00 reserved 01 initialize dac s 10 reserved 11 reserved
data sheet adau1702 rev. d | page 45 of 52 multipurpose pins the adau1702 has 12 multipurpose (mp) pins that can be individually programmed for use as serial data inputs, serial data outputs, digital control inputs/outputs to and from the sigmadsp core, or inputs to the 4 - channel auxiliary adc . these pins allow the adau1702 to be used with external adcs and dacs. they also use analog or d igital inputs to control settings such as volume control, or use output digital signals to drive led indicators. every mp pin has an internal 15 k? pull - up resistor. auxiliary adc the adau1702 has a 4 - channel , auxiliary , 8 - bit adc that can be used in conjunction with a potentiometer to control volume, tone, or other par ameter settings in the dsp program. each of the four channels is sampled at the audio sampling frequency (f s ). full - scale input on this adc is 3.0 v, thus the step size is approximately 12 mv (3.0 v/256 steps) . the input resistance of the adc is approximat e ly 3 0 k. table 61 indicates which four mp pins are mapped to the four channels of the aux iliary adc. the auxiliary adc is enabled for those pins by writing 1111 to the appropriate portion of the m ultipurpose p in c onfiguration regis ters. the auxiliary adc is turned on by setting the aaen bit of the a uxiliary adc e nable register (see table 56 ). noise on the adc input can cause the digital output to change constantly by a few lsbs. if the auxiliary adc is u sed to control volume, this constant change causes small gain fluctuations. to avoid this, add a low - pass filter or hysteresis to the auxiliary adc signal path by enabling either function in the a uxiliary adc and p ower c ontrol register ( address 2082), as descr ibed in table 54 . the filter is enabled by default when the auxiliary adc is enabled. when data is read from the auxiliary adc registers, two bytes (12 bits of data plus zero padded lsbs) are available because of this filte ring. 20k 10k s1 s2 1.8pf aux adc input pin 05798-030 figure 31 . auxiliary adc input circuit figure 31 shows the input circuit for the auxiliary adc. switch s1 enables the auxiliary adc and is set by bit 15 of the auxiliary adc enable register. the sampling switch, s2, operates at the audio sampling frequency. the a uxiliary adc d ata registers can be written to directly after aacw in the dsp core control register has been set. in this mode, the voltages on the analog inputs are not written into the registers, but rather the data in the registers is written from the control port. pvdd supplies the 3.3 v power for the auxiliary adc analog input. the digital core of the auxiliary adc is powered with the 1.8 v dvdd signal. table 61 . multipurpose pin auxiliary adc mapping multipurpose pin function mp0 not applicable mp1 not applicable mp2 adc1 mp3 adc2 mp4 not applicable mp5 not applicable mp6 not applicable mp7 not applicable mp8 adc3 mp9 adc0 mp10 not applicable mp11 not applicable general - purpose input/output pin s use t he general - purpose input/output (gpio) pins as either inputs or outputs. these pins are readable and ar e set either through the control interface or directly by the sigmadsp core. when set as inputs, the se pins can be used with push - button switches or rotary encoders to control dsp program settings. use d igital outputs to drive leds or external logic to indicate the status of internal signals and to control other devices. examples of this use include i ndicating signal overload, signal present, and button press confirmation. when set as an output, each pin can typically drive 2 ma. this is enough current to directly drive some high efficiency leds. stand ard leds require about 20 ma of current and can be driven from a gpio outpu t with an external transistor or b uffer. because of issues that can arise from simultaneously driving or sinking a large current on many pins, take care in the application design to avoid connect ing high efficiency leds directly to many or all of the mpx pins. if many leds are required , use an external driver. when the gpio pins are set as open - collector outputs, they should be pulled up to a maximum voltage of 3.3 v (the voltage on iovdd). serial data input/ou tput ports the flexib le serial data input and output ports of the adau1702 can be set to accept or transmit data in 2 - channel format or in an 8 - channel tdm stream. data is processed in twos complement, msb - first format. the left - channel data field always precedes the right - channel data field in the 2 - channel streams. in tdm mode, slot 0 to slot 3 are in th e first half of the audio frame, and slot 4 to slot 7 are in the second half of the frame. tdm mode allows fe wer multipurpose pins to be used, freeing more pins for other functions. the serial modes are set in the serial output and serial input control registers.
adau1702 data sheet rev. d | page 46 of 52 the serial data clocks need to be synchronous with the adau1702 master clock input. the input control register allows control of clock polarity and data input modes. the valid data formats are i 2 s, left - justified, right - justified (24 - /20 - /18 - /16 - bit), and 8 - channel tdm. in all mo des , excep t for the right - justified modes, the serial port accepts an arbitrary number of bits up to a limit of 24. extra bits do not cause an error, but they are truncated internally. proper operation of the right - justified modes requires that there be exactly 64 b clks pe r audio frame. the tdm data is input on sdata_in0. the lrclk in tdm mode can be input to the adau1702 either as a 50/50 duty cycle clock or as a bit - wide pulse. in tdm mode, the adau1702 can be a master for 48 khz and 96 khz data, but not for 192 khz data. table 62 lists the modes in which the serial output port can f unction . table 62 . serial output port master/slave mode capabilities f s 2 - channel modes (i 2 s, l eft justified , r ight j ustified ) 8 - channel tdm 48 khz master and slave master and slave 96 khz master and slave master and slave 192 khz master and slave slave only the output control registers allow the user to control clock polarities, clock frequencies, clock types, and data format. in all modes except for the right - justified modes (msb delayed by 8, 12, or 16 bits ), the serial port accepts an arbitrary numbe r of bits up to a limit of 24. extra bits do not cause an error, rather, they are truncated internally. proper operation of the right - justified modes requires the lsb to align with the edge of the lrclk. the def ault settings of all serial port control regi sters correspond to the 2 - channel i 2 s mode. all register settings apply to both master and slave modes , unless otherwise noted. the function of each multipurpose pin in serial data port mode is listed in table 63 . pin mp0 to pi n mp5 support digital data input to the adau1702 , and pin mp6 to pin mp11 handle digital data output from the dsp. the configuration of the serial data input port is set in the s erial i nput c ontrol register ( table 49 ) , and the configuration of the corresponding output port is controlled with the s erial o utput c ontrol register ( table 47 ). the clocks of the input port function only as slave s , whereas the output port clocks can be set to function as either master s or slave s . the input_lrclk (mp4) and input_bclk (mp5) pins are used to clock the sdata_inx (mp0 to mp3) signals, and the output_lrclk (mp10) and output_ bclk (mp11) pins are used to clock the sdata_outx (mp6 to mp9) signals. if an external adc is connected as a slave to the adau1702 , use both the input and output port clocks. the output_ lrclk (mp10) and output_ bclk ( mp1 1) pins must be set to master mode and connected externally to the input_ lrclk (mp4) and input_ bclk (mp5) pins , as well as to the external adc clock input pins. the data is output from the external adc into the sigmadsp on one of the four sdata_in x pins (m p0 to mp3). connections to an external dac are handled exclusively with the output port pins. the output_ lrclk and output_ bclk pins can be set to function as either master s or slave s , and the sdata_out x pins are used to output data from the sigmadsp to th e external dac. table 64 describes the proper configurations for standard audio data formats. table 63 . multipurpose pin serial data port functions multipurpose pin function mp0 sdata_in0/tdm_in mp1 s data_in1 mp2 sdata_in2 mp3 sdata_in3 mp4 input_lrclk (slave only) mp5 input_bclk (slave only) mp6 sdata_out0/tdm_out mp7 sdata_out1 mp8 sdata_out2 mp9 sdata_out3 mp10 output_lrclk (master or slave) mp11 output_bclk (master or slave) table 64 . data format configurations format lrclk polarity lrclk type bclk polarity msb position i 2 s ( figure 32) frame begins on falling edge clock data changes on falling edge delayed from lrclk edge by 1 bclk left justified ( figure 33) frame begins on rising edge clock data changes on falling edge aligned with lrclk edge right justified ( figure 34) frame begins on rising edge clock data changes on fallin g edge delayed from lrclk edge by 8, 12, or 16 bclks tdm with clock ( figure 35) frame begins on falling edge clock data changes on falling edge delayed from start of word clock by 1 bclk tdm with pulse ( figure 36) frame begins on rising edge pulse data changes on falling edge delayed from start of word clock by 1 bclk
data sheet adau1702 rev. d | page 47 of 52 lrcl k bclk sdata msb left channel lsb msb right channel lsb 1/f s 05798-031 figure 32. i 2 s mode16 bits to 24 bits per channel lrclk bclk sdata left channel msb lsb msb right channel lsb 1/f s 0 5798-032 figure 33. left-justified mode1 6 bits to 24 bits per channel lrclk bclk sdata left channel msb lsb msb right channel lsb 1/f s 05798-033 figure 34. right-justified mode16 bits to 24 bits per channel lrclk bclk data slot 1 slot 4 slot 5 32 bclks msb msb?1 msb?2 256 bclks slot 2 slot 3 slot 6 slot 7 slot 8 lrclk bclk data 05798-034 figure 35. tdm mode lrcl k slot 0 slot 1 slot 2 slot 3 slot 4 slot 5 slot 6 slot 7 ch 0 bclk sdata msb tdm 8th ch 32 bclks msb tdm 05798-035 figure 36. tdm mode with pulse word clock
adau1702 data sheet rev. d | page 48 of 52 layou t recommendations parts placement place t he adc input voltage - to - current resistors and the adc current set resistor as close as possible to the two , three , and four input pins . all 100 nf bypass capacitors, which are recommended for every analog, digital , and pll power/ground pair, should be placed as close as possible to the adau1702 . bypass each of t he 3.3 v and 1.8 v signals on the board with a single bulk capacitor (10 f to 47 f). t o minimize stray capacitance , keep a ll traces in the crystal oscillator circuit ( figure 14) as short as possible. in addition, avoid long board traces connected to any of these components because such trace s can affect crystal startup and operation. grounding use a single ground plane in the application layout. place c omponents in an analog signal path away from digital signals.
data sheet adau1702 rev. d | page 49 of 52 typical application schematic s self - boot mode u1 adau1702 05798-036 figure 37 . self - boot mode schematic
adau1702 data sheet rev. d | page 50 of 52 i 2 c control u1 adau1702 05798-037 figure 38 . i 2 c control schematic
data sheet adau1702 rev. d | page 51 of 52 spi control u1 adau1702 05798-038 figure 39 . spi control schematic
adau1702 data sheet rev. d | page 52 of 52 outline dimensions compliant t o jedec s t andards ms-026-bbc t o p view (pins down) 1 12 13 25 24 36 37 48 0.27 0.22 0.17 0.50 bsc lead pitch 1.60 max 0.75 0.60 0.45 view a pin 1 0.20 0.09 1.45 1.40 1.35 0.08 coplanarit y view a ro ta ted 90 ccw se a ting plane 7 3.5 0 0.15 0.05 9.20 9.00 sq 8.80 7.20 7.00 sq 6.80 051706- a figure 40 . 48 - lead low - profile quad fla t package [lqfp] (st - 48) dimensions shown in millimeters ordering guide model 1 , 2 temperature range package description package option adau1702 j stz 0c to + 70c 48- lead lqfp st -48 adau1702 j stz - rl 0c to + 70 c 48 - lead lqfp in 13 tape and reel st - 4 8 eval - adau1 4 0 1 eb z evaluation b oard eval - adau1701miniz evaluation b oard 1 z = rohs compliant par t. 2 the eval - adau1401ebz and the eval - adau1701miniz are used to evaluate the adau1702, adau1701, and the adau1401. i 2 c refers to a communications protocol originally developed by philips semiconductors (now nxp semiconductors). ? 2007 C 201 6 analog devices, inc. all rights reserved. trademarks and registered trademarks are the property of their respective owners . d05798 - 0- 5/1 6 ( d )


▲Up To Search▲   

 
Price & Availability of EVAL-ADAU1701MINIZ

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X